These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The following are required installed and set up before starting this app
NODE
To start this app, perform the following step in order
- Clone this repo to your machine
git clone https://[email protected]/tssdevs1/inventory-management.git
- run "npm install" on the root directory of the project
npm install
- Run the command "npm run dev"
npm run dev
The steps highlighted are use to deploy to Heroku via the command line
- run "heroku config:set NPM_CONFIG_PRODUCTION=false" on the root directory of the project
heroku config:set NPM_CONFIG_PRODUCTION=false
- run "heroku config:set HOST=0.0.0.0" on the root directory of the project
heroku config:set HOST=0.0.0.0
- run "heroku config:set NODE_ENV=production" on the root directory of the project
heroku config:set NODE_ENV=production
- run "git push heroku master" on the root directory of the project
git push heroku master