Blame view

scripts/post-deploy.sh 352 Bytes
65f2cab9   hitier   Auto-Deploy files
1
2
3
4
5
6
#!/bin/sh

# SCript to run after application source was updated.
#
# Should be execute within root directory of project

ee0bfaeb   hitier   Fix wrong shell c...
7
8
SCRIPT=$(readlink -f "$0")
PROJECT_PATH=$(dirname "$SCRIPT")/..
65f2cab9   hitier   Auto-Deploy files
9

65f2cab9   hitier   Auto-Deploy files
10

ee0bfaeb   hitier   Fix wrong shell c...
11
12
.  ${PROJECT_PATH}/venv/bin/activate
pip install -r ${PROJECT_PATH}/requirements.txt
65f2cab9   hitier   Auto-Deploy files
13
14
15
16

# Now run some cli post update commands
# flask db upgrade
# flask translation