๐ฉโ๐ผ ๋น๋๋ฉด ์๋์ ์ ํฉํ ๋งค์ฅ ํตํฉ ๊ด๋ฆฌ ์น ์ ํ๋ฆฌ์ผ์ด์ NTACT ๐จโ๐ผ
๊ธฐ์กด ๋งค์ฅ์ ํค์ค์คํฌ ์ฌ์ฉ์ ๊ณ ๊ฐ์๊ฒ ์์ด ๊ธด ๋๊ธฐ ์ค๊ณผ ์์ ๋ฌธ์ , ์ ํ๋ฆฌ์ผ์ด์ ์ ์ฌ์ฉํ๋๋ผ๋ ๋ธ๋๋๋ง๋ค ์์ฌ ์ฑ์ ์ค์นํด์ผ ํ๋ ๋ฒ๊ฑฐ๋ก์ ๋ฑ์ ๋น๋กฏํ์ฌ ๋ถํธํ ์ ์ด ๋ง์ต๋๋ค. ๋, ์ง์ ์ ์ฅ์์๋ ์ข ์ด ์ฃผ๋ฌธ์์ ๊ตฌ๋ ์ํต์ ์ฐฉ์ค๋ฅผ ์ผ์ผํค๋ ๋ฑ์ ์ด๋ ค์ด ์ ์ด ์กด์ฌํฉ๋๋ค. NTACT๋ ์ด๋ฌํ ๋ฌธ์ ์ ์ ํด๊ฒฐํ๊ธฐ ์ํด ์น ๋ธ๋ผ์ฐ์ ๋ฅผ ํตํ ๊ฐ๋จํ ์ฃผ๋ฌธ ๋ฐ ๊ฒฐ์ ์ ๋์งํธํ ๋ ์ฃผ๋ฐฉ ์ ์ด ์๋น์ค๋ฅผ ์ ๊ณตํฉ๋๋ค๐ฉโ๐ณ
-
npm
npm install npm@latest -g
-
redis
# Windows Download from https://github.com/tporadowski/redis # Mac brew install redis # Ubuntu sudo apt-get install redis-server
-
Clone the repository
git clone https://github.com/coding-Benny/NTACT.git
-
Install NPM packages and run
-
๐ฑ client
cd client npm install npm run start
-
๐ manager
cd manager npm install npm run start
-
๐ป server
cd server npm install npm run start
-
- Client configuration:
client/src/config
- loginInfo.json
- payment.json
- Manager configuration:
manager/src/Login
-
loginInfo.json
{ "jwt_password": "Put your JWT password" }
- Server configuration:
server/src/config
-
db-config.json
{ "development": { "username": "Put your user name here", "password": "Put your password here", "database": "Put your database here", "host": "Put your host name here", "dialect": "mysql", "operatorsAliases": 0, "define": { "timestamps": false, "underscored" : true } }, "test": { "username": "Put your username here", "password": "Put your password here", "database": "Put your database here", "host": "Put your host name here", "dialect": "mysql" }, "production": { "username": "Put your username here", "password": "Put your password here", "database": "Put your database here", "host": "Put your host name here", "dialect": "mysql" } }
-
password-config.json
{ "jwt_password" : "Put your JWT password" }
-
payment-config.json
{ "imp_key": "Put your REST API key", "imp_secret": "Put your REST API Secret key" }
-
s3-config.json
{ "AWSAccessKeyId": "Put your AWS access key ID", "AWSSecretKey": "Put your AWS Secret key", "Bucket": "Put your bucket name" }
-
Syncing database
-
Create
server/sync-db.bat
filestart cmd /c "npx sequelize-auto -h YOUR_HOST_NAME -d YOUR_DATABASE_NAME -u YOUR_USERNAME -x YOUR_PASSWORD -p YOUR_PORT_NUMBER -c YOUR_CONFIG_FILE_PATH -o YOUR_OUTPUT_DIRECTORY -C" @ECHO DB Sync Done! # Mac or Linux npx sequelize-auto -h ntactdb.c8obj2inxx2r.ap-northeast-2.rds.amazonaws.com -d ntactDB -u ntact -x qlalfqjsgh -p 3306 -c ./config/db-config.json -o ./models -C echo DB Sync Done!
-
Run batch file
cd server sync-db.bat # Mac or Linux cd server chmod u+x ./sync-db.bat ./sync-db.bat
-
{
"jwt_password": "Put your JWT password"
}
{
"imp_user_code": "Put your I'mport; franchisee identification code"
}
- ๋ก๊ทธ์ธ
- ์ฃผ๋ฌธ ์ ์ ๋ด์ญ
- ์ค์๊ฐ ๋ฉ๋ด ์ํ ๊ด๋ฆฌ
- ์นดํ ๊ณ ๋ฆฌ & ๋ฉ๋ด ์์ฑ
- ์นดํ ๊ณ ๋ฆฌ ๊ด๋ฆฌ
- ๋ฉ๋ด ๊ด๋ฆฌ
๊น์ฐ์ง |
๐ Role ๐ Commit Log |
๋ฐ์ข ๊ทผ |
๐ Commit Log |
์ด์ ํ |
๐ Role ๐ Commit Log |
์ต์์ง |
๐ Role ๐ Commit Log |
- Repository: https://github.com/JJJJ-web/NTACT
- NTACT client's homepage: https://ntact.site โ
- NTACT manager's homepage: https://manager.ntact.site โ
- Video
The code in this project is licensed under GPL-3.0 license.
See LICENSE
for more information.