Ruby on Rails: Sophie - NikitaDouglas/acebook-Kindred GitHub Wiki
Compiled by Sophie after Week 1 of Makers Acebook.
- Reflections and notes on learning a new framework Ruby on Rails, working as agile team and proper practices for git issue, branching, pull requestions and automation linked to trello tickets (dreamy!!!)
- Working in an agile team is AWESOME!
- Trello: always my mate now my best mate
- Learning to use git processes properly takes some practice but is invaluable to a well organised team, dry code, rigorous code review, merging and ironing out bugs with travis so you can deploy with (relatively) little pain.
- Don't underestimate my less friendly but v.important mate: travis
- Tests as always are your friends. TDD but spike too
- Mobbing is tiring but rewarding
- Don't underestimate the importance of structured self-led learning
- Rest and time away from code make you a better dev
Set up workflow on a new ticket:
- Trello add number to ticket #3
- Open issue with same name as ticket (#no self populates)
- Link github issue to trello ticket
- Create new branch with name of ticket/issue
- Switch into branch locally and GO!
- Commit and push regularly with detailed explanations
- Understand the rails directory setup first before you run any commands or write any code! Here is my guide:
-
Gems
- Devise see my write up on how to set up user authentication here
-
Useful commands:
- Start server from root using
rails server
and visitlocalhost:3000
- Run
rails generate <something> Name
builds directory for you.
- Start server from root using