aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-08-07 15:09:08 +0100
committerGravatar Gareth Coles <[email protected]>2018-08-07 15:09:16 +0100
commitaf54db6c136138c66cf5ca72419989525a0baa5c (patch)
tree8519aeab8d45277c51797c7dc23aacf3b56ed1bb /Pipfile
parentA wizard is never late, nor is he early. (diff)
Initial project layout for django
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile37
1 files changed, 9 insertions, 28 deletions
diff --git a/Pipfile b/Pipfile
index b74b26bd..08a51954 100644
--- a/Pipfile
+++ b/Pipfile
@@ -1,26 +1,11 @@
[[source]]
-url = "https://pypi.python.org/simple"
+url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
-flask = "==0.12.2"
-rethinkdb = "*"
-requests = "*"
-gevent = "==1.2.2"
-gevent-websocket = "*"
-wsaccel = "*"
-ujson = "*"
-schema = "*"
-flask-sockets = "*"
-flask-dance = "*"
-logmatic-python = "*"
-flask-wtf = "*"
-docutils = "*"
-pygments = "*"
-gunicorn = "*"
-kombu = "*"
-librabbitmq = "*"
+django = "*"
+django-hosts = "*"
[dev-packages]
"flake8" = "*"
@@ -29,15 +14,10 @@ librabbitmq = "*"
"flake8-import-order" = "*"
"flake8-tidy-imports" = "*"
"flake8-string-format" = "*"
-requests = "*"
-flask-testing = "*"
-pytest = "*"
-pytest-cov = "*"
-python-coveralls = "*"
libsass = "*"
[requires]
-python_version = "3.6"
+python_version = "3.7"
[scripts]
build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ."
@@ -45,11 +25,11 @@ 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"
+#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"
+#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"
@@ -59,5 +39,6 @@ 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"
+#rundev = "python app.py"
+#test = "py.test tests --cov pysite --cov-report term-missing -v"
+