Toggle navigation
Toggle navigation
This project
Loading...
Sign in
HyeonJun Jeon
/
Extended-Calendar
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
HyeonJun Jeon
2022-06-10 08:35:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
544d85df4822556ac876e22a1b8a64eee655f1e9
544d85df
1 parent
f8f0a59a
[Docs] Update set-up procedure
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
13 deletions
README.md
README.md
View file @
544d85d
...
...
@@ -32,30 +32,45 @@
## Getting Started (Installation)
### Set up
```
ba
sh
```
sh
git clone http://khuhub.khu.ac.kr/2021105636/Extended-Calendar.git
npm install
npm install -g nodemon
npm install -g pm2
```
Make
`.env`
in root directory.
```
sh
# MySQL
DB_HOST
=
DB_USER
=
DB_PASSWORD
=
DB_DATABASE
=
# Express
SERVER_IP
=
# React
REACT_APP_IP
=
REACT_APP_SERVER_IP
=
# generally all the same
```
Import
`schema.sql`
in your DB.
### Run to debug
> Terminal 1 ( Server )
>
> ```
> npm run server
> ```
>
> Terminal 2 ( React )
>
> ```
> npm start
> ```
Terminal 1 ( Server )
```
sh
npm run server
```
Terminal 2 ( React )
```
sh
npm start
```
port : 3000
<br>
### Run to deploy
```
```
sh
npm run build
npm run pm2
```
...
...
Please
register
or
login
to post a comment