We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b80a806 + aae0782 commit cfa77d3Copy full SHA for cfa77d3
1 file changed
scripts/add-aliases.sh
@@ -165,7 +165,8 @@ function fullreset(){
165
166
function alembic(){
167
ex -e SQL_USE_ALEMBIC_USER=yes -e SQL_PASSWORD=superroot -e SQLALCHEMY_POOL_RECYCLE=3600 ${1} \
168
- bash -c 'cd /src && python3 manage.py db '"${@:2}"''
+ bash -c 'cd /opt/app-root/src && [ -d "$VENV_DIR" ] && source $VENV_DIR/bin/activate;
169
+ python3 manage.py db '"${@:2}"''
170
}
171
172
function devenv-help(){
0 commit comments