forked from DoDGOSS/ozone
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
·25 lines (22 loc) · 806 Bytes
/
start.sh
File metadata and controls
executable file
·25 lines (22 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
pushd ./ozone-framework-client/
npm install
npm run bootstrap
npm run clean
npm run build
npm run copy-required-public
popd
cp ./ozone-framework-client/packages/application/webpack-stats.json ./ozone-framework-python-server/config/webpack-stats.json
pushd ./ozone-example-widgets/
npm install
npm run clean
npm run build
npm run copy-owf-js
popd
pushd ./ozone-framework-python-server
pip install -r requirements_prod.txt
python manage.py collectstatic --clear --no-input
python manage.py collectstatic --settings=config.settings.local --no-input
python manage.py migrate --settings=config.settings.local --no-input
python manage.py loaddata --settings=config.settings.local resources/fixtures/default_data_production.json
waitress-serve --port=8000 --url-scheme=http config.wsgi:application