-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Update project structure
- Loading branch information
Showing
78 changed files
with
1,365 additions
and
1,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
!.coveragerc | ||
!.env | ||
!.pylintrc | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
sudo: false | ||
|
||
services: | ||
- postgresql | ||
|
||
language: python | ||
python: | ||
- "3.6" | ||
|
||
env: | ||
- TRAVIS_CI=True | ||
|
||
cache: | ||
apt: true | ||
pip: true | ||
directories: | ||
- $HOME/.cache/pip | ||
|
||
python: | ||
- "3.6" | ||
install: | ||
- "pip install -U setuptools" | ||
- "pip install -r requirements/local.txt" | ||
- make | ||
before_script: | ||
- psql -c "CREATE DATABASE test_db_app;" -U postgres | ||
- psql -c "CREATE USER db_user WITH PASSWORD 'db_pass';" -U postgres | ||
script: | ||
- "py.test --cov=./" | ||
- make ci | ||
# - make analyze | ||
after_success: | ||
- "codecov" | ||
- codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
init: | ||
pip install pipenv --upgrade | ||
pipenv install --dev --skip-lock | ||
ci: | ||
pipenv run pytest --cov=./ | ||
analyze: | ||
pipenv run flake8 . | ||
pipenv run isort -v | ||
build: | ||
docker-compose build | ||
rebuild: | ||
docker-compose build --force-rm --no-cache | ||
lang-make: | ||
pipenv run python manage.py makemessages --no-location --no-wrap | ||
lang-compile: | ||
pipenv run python manage.py compilemessages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[[source]] | ||
|
||
url = "https://pypi.python.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
|
||
[packages] | ||
|
||
django = "*" | ||
django-environ = "*" | ||
whitenoise = "*" | ||
django-braces = "*" | ||
django-crispy-forms = "*" | ||
django-model-utils = "*" | ||
django-allauth = "*" | ||
"psycopg2" = "*" | ||
awesome-slugify = "*" | ||
pytz = "*" | ||
django-stdimage = "*" | ||
djangorestframework = "*" | ||
pillow = "*" | ||
markdown = "*" | ||
django-filter = "*" | ||
django-stdimage-serializer = "*" | ||
coreapi = "*" | ||
pygments = "*" | ||
django-cors-headers = "*" | ||
gevent = "*" | ||
gunicorn = "*" | ||
django-anymail = "*" | ||
raven = "*" | ||
ipython-genutils = "*" | ||
drf-yasg = "*" | ||
|
||
|
||
[dev-packages] | ||
|
||
coverage = "*" | ||
django-coverage-plugin = "*" | ||
sphinx = "*" | ||
django-extensions = "*" | ||
werkzeug = "*" | ||
django-test-plus = "*" | ||
factory-boy = "*" | ||
django-debug-toolbar = "*" | ||
ipython = "*" | ||
ipdb = "*" | ||
pytest-django = "*" | ||
pytest-sugar = "*" | ||
django-rosetta = "*" | ||
pytest-cov = "*" | ||
codecov = "*" |
Oops, something went wrong.