diff --git a/Saleor_Production_Deployment.sh b/Saleor_Production_Deployment.sh index 0734048..980c9ff 100644 --- a/Saleor_Production_Deployment.sh +++ b/Saleor_Production_Deployment.sh @@ -291,7 +291,8 @@ pip3 install -r requirements.txt export DATABASE_URL=$DB_URL npm install npm audit fix -python3 manage.py migrate --createsuperuser +python3 manage.py migrate +python3 manage.py collectstatic npm run build-schema npm run build-mails @@ -330,4 +331,5 @@ sudo systemctl restart nginx sleep 3 echo "I think we're done here." -echo "Test the installation." \ No newline at end of file +echo "Test the installation." +echo "Run python3 manage.py createsuperuser from $HD/saleor" \ No newline at end of file