Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmedadelfahim/masterofthings-task
https://github.com/ahmedadelfahim/masterofthings-task
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmedadelfahim/masterofthings-task
- Owner: AhmedAdelFahim
- Created: 2020-07-02T09:12:03.000Z (over 4 years ago)
- Default Branch: development
- Last Pushed: 2023-02-25T00:42:32.000Z (over 1 year ago)
- Last Synced: 2023-03-07T18:01:42.247Z (over 1 year ago)
- Language: JavaScript
- Size: 3.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MasterOfThings-Task
## Installation1. Install **Nodejs**
2. Install **npm**
3. Install **MySQLDB**
4. Install **Redis Server**
5. Clone the Project
6. Run Redis Server
7. Run mysql service
8. then run these commands
```
cd MasterOfThings-Task
npm install
cp .env.example .env
cp config/config.json.example config/config.json
```
write your db credentials, db name, node environment and session secret in .env & config.json then:
```
npx sequelize-cli db:create 'dbName'
npx sequelize-cli db:migrate
npm start
cd client/
npm install
cp .env.example .env
npm start
```
9. For testing set node environment with "test"
```
npx sequelize-cli db:create 'testing dbName' --env=test
npx sequelize-cli db:migrate --env=test
npm test
```
## To Build Docker
```
git checkout development-docker```