- Setup SSH keys.
ssh-keygen -t ed25519 -C "[email protected]"
- Add the public key to the list of SSH keys in your GitHub account.
cat /home/ubuntu/.ssh/id_ed25519.pub
- Clone the repository.
git clone [email protected]:usefulcoin/paper-kit-react-template.git
- Change the working directory and execute the setup script.
cd paper-kit-react-template && bash setup.bash
- Install node modules.
npm install
- Start.
npm start
- If the build on port 3000 meets your approval, quit (Ctrl-C / ^C) and deploy.
bash deploy.bash
- Don't forget to create the S3 repository and update the name of the S3 repository used in deploy.bash.
- Don't forget to update the value of homepage in
package.json
. - Don't forget to navigate over to GitHub and setup
gh-pages
to use docs/ to hold the build. - Don't forget to pull those changes to your development environment before running
bash deploy.bash
.