python $manage bower_install -- --allow-root
python $manage collectstatic --noinput
- if [ ! -f .init ]; then
- chown -R www-data:www-data $media
- python $manage telemeta-create-admin-user
- python $manage telemeta-create-boilerplate
- touch .init
- elif [ $REINDEX = "True" ]; then
+ # telemeta setup
++if [ $DATASTART = "True" ]
++then
+ python $manage telemeta-create-admin-user
+ python $manage telemeta-create-boilerplate
++fi
++
++if [ $REINDEX = "True" ]; then
+ python $manage rebuild_index --noinput
+fi
if [ $DEBUG = "False" ]; then
python $manage update_index --workers $processes &
- Subproject commit 66caac4dce0b50451e5755e42240444ad33e9647
-Subproject commit ea6605ad78243d798d88f1ffc46c8f6bc507ce11
++Subproject commit 0790c8f8c2df57d782176710d73795734d034111