diff options
author | 2018-08-11 23:36:40 +0200 | |
---|---|---|
committer | 2018-08-11 23:36:40 +0200 | |
commit | 6b8fecbdc5511a30509f78f60caaafd37cead837 (patch) | |
tree | 88417f1d175c87764ec84d712cc0ddd6816defdb /Pipfile | |
parent | Rename `pydis_django` to `pysite`. (diff) |
Use `django-environ` and PostgreSQL.
Diffstat (limited to 'Pipfile')
-rw-r--r-- | Pipfile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -6,6 +6,8 @@ name = "pypi" [packages] django = "*" django-hosts = "*" +django-environ = "*" +"psycopg2-binary" = "*" [dev-packages] "flake8" = "*" @@ -23,22 +25,16 @@ python_version = "3.7" build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ." buildci = "docker build -t pythondiscord/site-ci:latest -f docker/ci.Dockerfile ." buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ." - buildjs = "gulp" #buildscss = "python scss.py scss/pysite:scss/pysite/style.scss:static/css/style.css scss/uikit:scss/uikit/uikit_blurple.scss:static/css/uikit_blurple.css" - clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache" fixjs = "eslint static/js --fix" #start = "gunicorn -w 12 -b 0.0.0.0:10012 -c gunicorn_config.py --log-level info -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker app:app" - lint = "python -m flake8" lintjs = "eslint js/src" lintscss = "scss-lint scss/pysite" - push = "docker push pythondiscord/site:latest" pushbase = "docker push pythondiscord/site-base:latest" pushci = "docker push pythondiscord/site-ci:latest" - #rundev = "python app.py" #test = "py.test tests --cov pysite --cov-report term-missing -v" - |