#Installation
-
fork the repository
-
clone your own instance to your local disk
-
install node.js and npm latest version globlally
- navigate to
/client/src/config
-
rename the file map.config.1.js to map.config.js and put the map api key inside it
-
navigate to the project directory
-
run this commands to install node dependencies
npm install
it will install the server dependencies and the client dependencies
RDS_HOSTNAME=********
RDS_USERNAME=********
RDS_PASSWORD=********
RDS_PORT=****
AWS_ACCESS_KEY_ID=***********
AWS_SECRET_ACCESS_KEY=***********
RDS_DATABASE=***********
S3_BUCKET_NAME=***********
HASH_SECRET=***********
development: {
username: "*****",
password: "********",
database: "******",
host: "********",
dialect: "********"
}
##### start by installing sequelize cli globally on you computer
$ npm install -g sequelize-cli
$ sequelize db:create
$ sequelize db:migrate
$ sequelize db:seed:all
- to serve the static react app run this command
npm run dev
- to run the node server run this command
npm start
- to run the nodemon development that watches for changes run this command
npm run watch