JARED FRONTEND README
The Jared Project: Jared is an ERP system for handling employees, customers other ERP features related with software companies.
Table of Contents
Installation Steps
- 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:
Development Mode
- Run
npm start
oryarn start
on jared-frontend folder
Build
Run npm build
or yarn build
on jared-frontend folder
Heroku Deployment
- 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
Select Endpoints URL
- Run
heroku config:set REACT_APP_API_HOST=https://jared-frontend.herokuapp.com/api
on jared-frontend folder (replace https://jared-frontend.herokuapp.com with your URL ) - Run
heroku open
Git workflow
- 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
Test the application on heroku:
- The application is running at: Jared Frontend