Showing
2 changed files
with
14 additions
and
8 deletions
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | -cd ../frontend | ||
3 | -npm run build | ||
4 | -cd ../backend | ||
5 | -rm -rf static | ||
6 | -./manage.py collectstatic | ||
7 | -rm -rf static/admin | ||
8 | -rm -rf static/rest_framework | ||
9 | -python vue2djangoTemplate.py | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
2 | +. env/bin/activate | ||
3 | +pip install -r requirements.txt | ||
4 | +python manage.py migrate | ||
5 | +python manage.py runserver 0.0.0.0:8000 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
web/backend/init(not yet)
0 → 100644
-
Please register or login to post a comment