11 lines
310 B
Bash
Executable File
11 lines
310 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source /data/run/virtualenv/bin/activate
|
|
cd /data/src
|
|
|
|
export GENERATED_PATH=/data/run/oer
|
|
export OER_SRC_DIR=/data/oer
|
|
export PLATFORM_PATH=/data/src
|
|
python3 ./manage.py import-courses --sources=/data/oer/courses --formats=/data/oer/exercise-formats/
|
|
echo yes | python3 ./manage.py collectstatic
|