This project was bootstrapped with Create React App.
A useful guide for the create react app is available.
$ git clone https://github.com/AgileVentures/agile-ventures-website-react-front-end
$ cd agile-ventures-website-react-front-end
$ yarn
$ yarn start
This will only work if you have been given access to our dokku system - this is for advanced users who have demonstrated ongoing committment to the project.
To make the commands simple, add the following to your ~/.ssh/config
Host avp-dokku
HostName agileventures-playground.westeurope.cloudapp.azure.com
User dokku
Then the following commands (assuming you have the correct ssh key set up) will create an app and allow pushing to the production server via git
$ ssh avp-dokku apps:create agileventures-react-front-end-production # if not yet created
$ git remote add agileventures-react-front-end-production dokku@agileventures-playground.westeurope.cloudapp.azure.com:agileventures-react-front-end-production # assuming you are in local directory for this project -- only needed first time
$ git push agileventures-react-front-end-production master
Tell dokku what domain to use:
$ ssh avp-dokku domains:add agileventures-react-front-end-production react.agileventures.org
Ensure has the DNS Zone on Azure is set correctly: