Merge branch 'master' of /home/git/git/icp
This commit is contained in:
commit
d1047ec596
|
@ -43,7 +43,6 @@ if [[ ! -e $V ]] ; then
|
||||||
sed -i "s/'generated_exercises',/#'generated_exercises',/" main/settings.py
|
sed -i "s/'generated_exercises',/#'generated_exercises',/" main/settings.py
|
||||||
python3 ./manage.py migrate
|
python3 ./manage.py migrate
|
||||||
sed -i "s/#'generated_exercises',/'generated_exercises',/" main/settings.py
|
sed -i "s/#'generated_exercises',/'generated_exercises',/" main/settings.py
|
||||||
echo yes | python3 ./manage.py collectstatic
|
|
||||||
mkdir /data/run/jobs/
|
mkdir /data/run/jobs/
|
||||||
chown www-data /data/run/jobs/
|
chown www-data /data/run/jobs/
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@ export GENERATED_PATH=/data/run/oer
|
||||||
export OER_SRC_DIR=/data/oer
|
export OER_SRC_DIR=/data/oer
|
||||||
export PLATFORM_PATH=/data/src
|
export PLATFORM_PATH=/data/src
|
||||||
python3 ./manage.py import-courses --sources=/data/oer/courses --formats=/data/oer/exercise-formats/
|
python3 ./manage.py import-courses --sources=/data/oer/courses --formats=/data/oer/exercise-formats/
|
||||||
python3 ./manage.py collectstatic
|
echo yes | python3 ./manage.py collectstatic
|
||||||
|
|
Loading…
Reference in New Issue