-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEXT_STEPS.txt
25 lines (25 loc) · 1.11 KB
/
NEXT_STEPS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
NEXT STEPS:
CD into the newly created Rails app.
Edit the constants defined in the "config/initializers/site_config.rb" file.
Make sure "rake spec" and "rake cucumber" run without errors.
Make sure the app runs: "rails server".
Commit changes: "git commit -a -m 'Basic site configuration.'"
Create a new GIT branch for the new feature.
Write feature ("script/generate feature feature_name") and feature steps.
Run "rake cucumber". (FAILS)
Add a route.
Write spec.
Run "rake spec". (FAILS)
Write code to pass spec.
Run "rake spec". (PASSES)
OPTIONAL: Commit the changes: "git commit -a -m 'Add blah for xyz feature.'"
Refactor.
Run "rake spec". (PASSES)
OPTIONAL: Commit the changes: "git commit -a -m 'Refactor blah.'"
Continue writing specs and code until feature is complete.
Run "rake cucumber". (PASSES)
Merge feature back into master branch.
Make sure "rake spec" and "rake cucumber" still pass.
OPTIONAL: Generate metrics: "rake metrics:all"
Commit the new feature: "git commit -a -m 'Added xyz feature.'"
Push to GitHub: "git push".