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:23 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
90db42a36af280348856c8d31fc2a17742cc068c
90db42a3
1 parent
ceb54dc3
[Edit] Readme 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
readme.md
readme.md
View file @
90db42a
...
...
@@ -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