diff options
author | Dashie <dashie@sigpipe.me> | 2020-04-06 17:42:04 +0200 |
---|---|---|
committer | Dashie <dashie@sigpipe.me> | 2020-04-06 17:42:04 +0200 |
commit | b5815d572d3ccc5282f427f77349731d6c301d75 (patch) | |
tree | ebc9f587a0b65376387f190cde052a08b078b73f | |
parent | 43805301f56bec49400868472c29370a788b8e70 (diff) |
Switch to venv
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .tmuxinator.yml | 2 | ||||
-rw-r--r-- | .vscode/settings.json | 2 | ||||
-rw-r--r-- | api/requirements.txt | 2 |
4 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,5 @@ *.pyc +/venv /config.py /.idea *.db diff --git a/.tmuxinator.yml b/.tmuxinator.yml index 81b05600..ea53cf4d 100644 --- a/.tmuxinator.yml +++ b/.tmuxinator.yml @@ -8,12 +8,14 @@ windows: - export FLASK_ENV=development - export AUTHLIB_INSECURE_TRANSPORT=1 - export APP_SETTINGS='config.development_secret.Config' + - source venv/bin/activate - cd api - flask run - workers: - export FLASK_ENV=development - export AUTHLIB_INSECURE_TRANSPORT=1 - export APP_SETTINGS='config.development_secret.Config' + - source venv/bin/activate - cd api - celery worker -A tasks.celery --loglevel=error - frontend: diff --git a/.vscode/settings.json b/.vscode/settings.json index e8f3a966..d04facfd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,6 +37,6 @@ "vetur.format.defaultFormatter.js": "vscode-typescript", "vetur.format.defaultFormatter.html": "js-beautify-html", "javascript.format.insertSpaceBeforeFunctionParenthesis": true, - "python.pythonPath": "/usr/bin/python3.6", + "python.pythonPath": "/home/dashie/dev/reel2bits/venv/bin/python3.6", "restructuredtext.confPath": "${workspaceFolder}/docs" }
\ No newline at end of file diff --git a/api/requirements.txt b/api/requirements.txt index d5248b4a..ed852656 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -1,4 +1,4 @@ -Flask_Babelex==0.9.3 +Flask_Babelex==0.9.4 psycopg2-binary==2.8.4 texttable==1.6.2 Unidecode==1.1.1 |