https://cloudfixum.herokuapp.com
https://cloudfixum-develop.herokuapp.com
Requirement to have nodejs v14.3.0 installed and then clone the repository
git clone https://github.com/cloudfixum/frontend.git
Install dependencies
npm install
Run project locally
npm start
Format code with prettier Important!!!!
npm run prettier
Install Heroku cli
npm install -g heroku
Login on Heroku
heroku login
Create app of heroku
heroku create cloudfixum-develop --remote heroku-staging --buildpack mars/create-react-app
Add remote repository of heroku
heroku git:remote -a https://git.heroku.com/cloudfixum-develop.git
Renaming remotes
git remote rename heroku heroku-staging
- If we are going to deploy in staging
git push heroku-staging develop:master
- If we are going to deploy to production
git push heroku master