The Jared Project: Jared is an ERP system for handling employees, customers other ERP features related with software companies.
- Install NodeJS
- Clone the Jared Front-End git repository
- Move to jared-frontend folder
- Install dependecies:
- With npm:
npm install - Or with yarn:
yarn
- With npm:
- Run
npm startoryarn starton jared-frontend folder
Run npm build or yarn build on jared-frontend folder
- Run
heroku git:remote -a jared-frontend - Run
git add . - Run
git commit -m "react-create-app on Heroku" - Run
git push heroku master - Run
heroku open
- Run
heroku config:set REACT_APP_API_HOST=https://jared-frontend.herokuapp.com/apion jared-frontend folder (replace https://jared-frontend.herokuapp.com with your URL ) - Run
heroku open
- Update to the latest version of master -
$ git checkout master && git pull - Create a new branch for working on the issue
2.1
$ git checkout -b features/<#issue_number>-<name>(If it's a new feature) 2.2$ git checkout -b bug_fixing/<#issue_number>-<name>(If it's a bug) - Commit locally as you need -
$ git commit -m 'bla bla' - Update your branch against master -
$ git fetch origin && git rebase origin master - Push your branch to github -
$ git push origin <branch-name> - Create a Pull request and assign a reviewer
- The application is running at: Jared Frontend