mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-30 21:49:50 -05:00
feat: better messages
This commit is contained in:
4
boot.sh
4
boot.sh
@@ -72,14 +72,14 @@ echo "Migrating database"
|
||||
python manage.py migrate
|
||||
|
||||
if [[ "${DOCKER}" == "true" ]]; then
|
||||
echo "Collecting static files"
|
||||
echo "Copying cached static files from docker build"
|
||||
|
||||
mkdir -p /opt/recipes/staticfiles
|
||||
rm -rf /opt/recipes/staticfiles/*
|
||||
mv /opt/recipes/staticfiles-collect/* /opt/recipes/staticfiles
|
||||
rm -rf /opt/recipes/staticfiles-collect
|
||||
else
|
||||
echo "Generating static files"
|
||||
echo "Collecting static files, this may take a while..."
|
||||
|
||||
python manage.py collectstatic_js_reverse
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
Reference in New Issue
Block a user