Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정민우
/
vps_service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
정민우
2021-06-10 22:50:41 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
5d698c48743ec52df02ff84475d07dba8130e8c5
5d698c48
2 parents
3d315c8b
90db42a3
Merge branch 'backend-docker' into 'master'
[Edit] Readme 수정 See merge request
!8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
readme.md
readme.md
View file @
5d698c4
...
...
@@ -28,10 +28,13 @@ VPS는 Virtual Private Server의 약자로 가상 사설 서버를 의미합니
## 설치 방법
1.
Clone the repository.
```bash
git clone http://khuhub.khu.ac.kr/2020105655/vps_service
```
2.
Install npm packages frontend, backend.
```bash
cd frontend
npm install
...
...
@@ -40,13 +43,17 @@ VPS는 Virtual Private Server의 약자로 가상 사설 서버를 의미합니
npm install
cd ..
```
3.
Build frontend react app.
```bash
cd frontend
npm run build
```
4.
Create new file named
`.env`
at ./backend and enter info as below.
-
.env.example 파일 참조
4.
Create new file named
`.env`
at
`./backend`
and enter info as below.
-
`.env.example`
파일 참조
```
PORT=3000
MYSQL_USERNAME=root
...
...
@@ -59,7 +66,9 @@ VPS는 Virtual Private Server의 약자로 가상 사설 서버를 의미합니
INITIAL_ADMIN_PW=
JWT_KEY=
```
5.
Edit nginx config file.
```
server {
server_name {YOUR URL};
...
...
Please
register
or
login
to post a comment