Proof of concept
- Submit a PR updating /data/repositories.json with the repo's you'd like to add
- site will be updated when PR is merged into master
Project has 2 package.json files, so you will need to run npm install
twice.
git clone
cd
npm install
cd react-app
npm install
Project is configured with dotenv to load enviormental vars
- Create a
.env
file in root of project - add values for the following:
GITHUB_USER=
GITHUB_PASS=
heroku create
git push heroku master
- use the
heroku
cli or user interface to setup "config vars" for same.env
properties above
Note: Uses the heroku-postbuild
script to build the react app upon deployment. This results in a slightly slower deploy time.
- open terminal
npm run dev-server
- open new tab
npm run dev-client
- Uses
nodemon
to automaticly update the server on changes. - Uses
webpack-dev-server
to hot reload client changes.