The goal in this project is to perform one iteration of the Agile Methodology.
-
Install Ruby via RailsInstaller (install latest version)
-
Clone project
-
Navigate to directory in command line
-
Install required gems:
bundle install --without production
- 'bundle exec ruby app.rb'
Label your group members as Person A, Person B, or Person C.
Person A
-
Create and checkout a branch. Name the branch
user_stories
:$ git checkout -b [name_of_your_new_branch]
-
Add your user stories to
user_stories.txt
in the root directory of your project -
Add and commit your changes
$ git add . $ git commit -m "Add user stories"
-
Push the branch to Github:
$ git push origin [name_of_your_new_branch]
Person B
-
Fetch the latest information from Github
$ git fetch
-
Checkout the branch:
$ git checkout [name_of_branch]
-
Sort the user stories by priority
-
Add and commit and push your changes
$ git add . $ git commit -m "Sorted user stories" $ git push
Person C
-
Fetch the latest information from Github
$ git fetch
-
Checkout the branch:
$ git checkout [name_of_branch]
-
Place asterisks next to the user stories your team will attempt to complete in this iteration
-
Add, commit, and push your changes
$ git add . $ git commit -m "Sorted user stories" $ git push
-
Go back to the master branch
$ git checkout master
-
Merge the branch into master
$ git merge [your_branch_name]
-
Push to Github
$ git push
Person A and B
$ git checkout master
$ git pull
For part 1 your job is to add the tests for the custom classes you might need to spec/part1_spec.rb
- Run tests with:
bundle exec rspec spec/part1_spec.rb
IMPORTANT: You are responsible for writing the tests and passing them.
Make the API endpoints for the user stories you selected.
You should make a branch per user story, then merge that branch into master when it is done.
IMPORTANT: You are responsible for writing the tests and passing them.
ALSO: Don't forget to add whatever.auto_upgrade! to your models.rb and whatever.auto_migrate! to spec/spec_helper.rb
*Run tests with: bundle exec rspec spec/part2_spec.rb
- Add all your changes on git and make a commit
- Create a Heroku server:
heroku create
- Create a database for your server:
heroku addons:create heroku-postgresql:hobby-dev
- Push the code to Heroku:
git push heroku master
- I preconfigured the necessary files for this to work.
- Verify all is working and submit your links (github and heroku) to me.