Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
PKH_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
2
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yoonjunhyeon
2020-05-03 19:02:55 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e95670d908376b407afac262b5384d3e7afc7f2b
e95670d9
1 parent
41e814b1
vue-python 연결 자동화 코드 추가 중.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
3 deletions
web/backend/init
web/backend/templates/index.html
web/backend/vue2djangoTemplate.py
web/backend/init
View file @
e95670d
#!/bin/bash
source
./env/bin/activate
python manage.py migrate
python manage.py runserver
\ No newline at end of file
cd
../frontend
npm run build
cd
../backend
rm -rf static
./manage.py collectstatic
rm -rf static/admin
rm -rf static/rest_framework
python vue2djangoTemplate.py
\ No newline at end of file
...
...
web/backend/templates/index.html
View file @
e95670d
...
...
@@ -25,4 +25,30 @@
<script
src=
"{% static '/js/app.a2bbd68a.js' %}"
></script>
</body>
</html>
<!DOCTYPE html>
<html
lang=
en
>
<head>
<meta
charset=
utf-8
>
<meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
>
<meta
name=
viewport
content=
"width=device-width,initial-scale=1"
>
<link
rel=
icon
href=
/favicon.ico
>
<title>
Profit-Hunter
</title>
<link
href=
/css/app.1dc1d4aa.css
rel=
preload
as=
style
>
<link
href=
/css/chunk-vendors.abb36e73.css
rel=
preload
as=
style
>
<link
href=
/js/app.a2bbd68a.js
rel=
preload
as=
script
>
<link
href=
/js/chunk-vendors.c489da91.js
rel=
preload
as=
script
>
<link
href=
/css/chunk-vendors.abb36e73.css
rel=
stylesheet
>
<link
href=
/css/app.1dc1d4aa.css
rel=
stylesheet
>
</head>
<body><noscript><strong>
We're sorry but front doesn't work properly without JavaScript enabled. Please enable it to
continue.
</strong></noscript>
<div
id=
app
></div>
<script
src=
/js/chunk-vendors.c489da91.js
></script>
<script
src=
/js/app.a2bbd68a.js
></script>
</body>
</html>
\ No newline at end of file
...
...
web/backend/vue2djangoTemplate.py
0 → 100644
View file @
e95670d
File mode changed
Please
register
or
login
to post a comment