lannn / dev_to_live

List steps from development to production

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a summary from development to production based on my 7+ years working experience using Ruby on Rails

If you have any suggestion, please create a issue or pullrequest to help me to improve this summary

Development

Use Ruby on Rails as main web framework

Version Control Flow

  • Checkout a new local branch for a JIRA/Other issue: feature/[JIRA PROJECT KEY]-[JIRA ISSUE NUMBER]-add-product, fix/[JIRA PROJECT KEY]-[JIRA ISSUE NUMBER]-fix-product-duplication
  • Push local branch to Github and create a pullrequest
  • Pass regrestion test then deploy to staging and do the manual test
  • Invite code review
  • Merge to master then deploy to staging and test manually again
  • Finally deploy to production

Note:

  • Rebase to master branch when needed
  • Use Lefthook to unify git hooks for a project

Test

Continuous Integration

Rails

Editor and other tools

Communication

Production

Deployment

  • Heroku for easy to deploy but more expensive
  • EngineYard
  • VPS like Linode, Digital Ocean

Monitoring

Others

References:

About

List steps from development to production