initrun
335 Bytes
#!/bin/bash
cd ../frontend
npm install
npm run build
cd ../backend
. env/bin/activate
pip install -r requirements.txt
rm -rf static
./manage.py collectstatic
rm -rf static/admin
rm -rf static/rest_framework
python manage.py makemigrations
python manage.py migrate
python vue2djangoTemplate.py
python manage.py runserver 0.0.0.0:8000