Yoonjunhyeon

be 자동화 코드

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
......
1 +#!/bin/bash
2 +cd ../frontend
3 +npm run build
4 +cd ../backend
5 +. env/bin/activate
6 +rm -rf static
7 +./manage.py collectstatic
8 +rm -rf static/admin
9 +rm -rf static/rest_framework
10 +python vue2djangoTemplate.py
...\ No newline at end of file ...\ No newline at end of file