Yoonjunhyeon

vue-python 연결 자동화 코드 추가 중.

1 #!/bin/bash 1 #!/bin/bash
2 -source ./env/bin/activate
3 -python manage.py migrate
4 -python manage.py runserver
...\ No newline at end of file ...\ No newline at end of file
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
......
...@@ -26,3 +26,29 @@ ...@@ -26,3 +26,29 @@
26 </body> 26 </body>
27 27
28 </html> 28 </html>
29 +
30 +<!DOCTYPE html>
31 +<html lang=en>
32 +
33 +<head>
34 + <meta charset=utf-8>
35 + <meta http-equiv=X-UA-Compatible content="IE=edge">
36 + <meta name=viewport content="width=device-width,initial-scale=1">
37 + <link rel=icon href=/favicon.ico>
38 + <title>Profit-Hunter</title>
39 + <link href=/css/app.1dc1d4aa.css rel=preload as=style>
40 + <link href=/css/chunk-vendors.abb36e73.css rel=preload as=style>
41 + <link href=/js/app.a2bbd68a.js rel=preload as=script>
42 + <link href=/js/chunk-vendors.c489da91.js rel=preload as=script>
43 + <link href=/css/chunk-vendors.abb36e73.css rel=stylesheet>
44 + <link href=/css/app.1dc1d4aa.css rel=stylesheet>
45 +</head>
46 +
47 +<body><noscript><strong>We're sorry but front doesn't work properly without JavaScript enabled. Please enable it to
48 + continue.</strong></noscript>
49 + <div id=app></div>
50 + <script src=/js/chunk-vendors.c489da91.js></script>
51 + <script src=/js/app.a2bbd68a.js></script>
52 +</body>
53 +
54 +</html>
...\ No newline at end of file ...\ No newline at end of file
......