This is source code for jootopuncture.herokuapp.com This repo contains 2 apps. client and servers.
- Common Tech
- Client
- create-react-app
- Material-UI: React Components library
- Source for UI is under
/client - All source code is hosted in github as a public project
- There is a hook setup in this project when commits are pushed to master branch, it'll trigger a deploy.
This instruction is based on development on OS X or Linux. For Windows, use Linux subsystem and bash shell
$ git clone git@github.com:hansampark/jootopuncture.git
- Change directory to
jootopuncture
$ cd jootopuncture
- Check out
master - Update master (Always start from latest
master)
$ git fetch && git pull origin master
- Create a branch
$ git checkout -b <branch_name>
- Make changes
- Stage changes for commit
$ git add .
- Commit changes
$ git commit -m "<meaningful commit message>"
- Push branch to remote
$ git push origin <branch_name>
- From github, create a pull request. source is
<branch_name>, and target ismaster - Merge pull request after review
- Make sure you're in
jootopuncture/client
$ cd client
- Install dependencies for site (do this everytime in case there is dependency change)
$ yarn install
- Run local development server(Optional)
$ yarn start
- Open browser and go to http://localhost:3000
- Make changes and check result in browser
- Make sure you're in
jootopuncture
$ cd jootopuncture
- Install dependencies for site (do this everytime in case there is dependency change)
$ yarn install
- Run local development server(This will trigger both client and server run concurrently)
$ yarn dev
- Open browser and go to http://localhost:3000
- Make changes and check result in browser