1.0.0 • Published 4 years ago
ct-platform-backend v1.0.0
ComboTag Platform-Backend
Local Development Requirements
- Redis server - you'll have to install redis server on your local machine. according to your OS, pick one of the following options (if your OS doesnt exist here, make a small research and add it here after installing redis server locally)
- windows
- download Redis for Windows latest .zip
- extract at the desired location (C:/redis for an example)
- pick either the 32 or 64 bit version
- run redis-server.exe file
- windows
- Node-gyp - !!DON'T JUST NPM INSTALL IT! READ THESE INSTRUCTIONS!!
If you wish to know more about the issue, you can read about it here.
If you want a quick run through (shame on you!) just keep reading..
- Open any terminal (on your local machine) in admin mode and run
npm install --global --production windows-build-tools
(more information) - envConfig
- go to conf/env/index.js and make the following changes:
module.exports = require(`./ec2`) => module.exports = require(`./dev`);
- in conf/env dir create dev.js file and ask a devTeam mate with writing it the info in this file includes secret credentials for the DB and for security reasons it is not documented here
- go to conf/env/index.js and make the following changes:
Now your are ready to run npm install
in the project dir and run the platform-backend locally
1.0.0
6 years ago