git pull origin master
to get latest masterbundle install
if new gem files are addedrails db:migrate
if any new model created
- If you need to create DB again, run
rails db:drop db:create db:migrate
orrails db:reset
git branch
check which branch you are ongit checkout -b "branch-name"
Create and switch the branch- Write codes!!!
- Pick the card from
User Story
- Move the card to
In Progress
and assign yourself (ClickM
on the card) to the card
- Check it works properly or not on your local (This step is really important!!)
git status
to check the files you've modifiedgit add .
to add all the changes to the staginggit commit -m “edit comments”
The comments should be easier for others to understand it.git push origin "your branchname"
to push it to origin- Go to Github and create pull request. Don't forget to assign it to @dream7boy.
- Check the pull reqest and resolve conflict before you leave Github
- Move the card to
Review
and assign that card to@junggunlee
for him to review it. - Send message with
@
to Jung on Slack so that he can know the task is done.
- Check the changed file and do code review for each pull requests.
- Coding conventin is okay?
- Indentation is okay?
- Any suggestions or questions to improve that codes?
- Lead dev merges codes on Github
- Delete merged branch right after it's merged to master.
- Move the card to
To Deploy
when finishing code review and merge.
- Check what will be deployed to heroku
git push heroku master
to deploy the files to heroku- If you need to change DB structures, run
heroku run rails db:migrate
and restart the server(dynos) on heroku - Go to heroku url to check the changes are applied on heroku.
- Move the card to
Done
when finishing deployment.
git status
to check if clean before pull, checkout or mergegit checkout master
git pull origin master
to pull the latest mastergit sweep
to clean unused branches