GithubHelp home page GithubHelp logo

fall-2019-sw1-finalproject's Introduction

The Final Project

Introduction

The goal in this project is to perform one iteration of the Agile Methodology.

Prerequisites

  1. Install Ruby via RailsInstaller (install latest version)

  2. Clone project

  3. Navigate to directory in command line

  4. Install required gems: bundle install --without production

Running the Application

  1. 'bundle exec ruby app.rb'

Part 0 - Getting Started

Label your group members as Person A, Person B, or Person C.

Person A

  1. Create and checkout a branch. Name the branch user_stories:

    $ git checkout -b [name_of_your_new_branch]
    
  2. Add your user stories to user_stories.txt in the root directory of your project

  3. Add and commit your changes

    $ git add .
    $ git commit -m "Add user stories"
    
  4. Push the branch to Github:

    $ git push origin [name_of_your_new_branch]
    

Person B

  1. Fetch the latest information from Github

    $ git fetch
    
  2. Checkout the branch:

    $ git checkout [name_of_branch]
    
  3. Sort the user stories by priority

  4. Add and commit and push your changes

    $ git add .
    $ git commit -m "Sorted user stories"
    $ git push
    

Person C

  1. Fetch the latest information from Github

    $ git fetch
    
  2. Checkout the branch:

    $ git checkout [name_of_branch]
    
  3. Place asterisks next to the user stories your team will attempt to complete in this iteration

  4. Add, commit, and push your changes

    $ git add .
    $ git commit -m "Sorted user stories"
    $ git push
    
  5. Go back to the master branch

    $ git checkout master
    
  6. Merge the branch into master

    $ git merge [your_branch_name]
    
  7. Push to Github

    $ git push
    

Person A and B

$ git checkout master
$ git pull

Part 1 - Modeling the Data

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.

Part 2 - Iteration!

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

Deploying to Heroku

Deployment Instructions

  1. Add all your changes on git and make a commit
  2. Create a Heroku server: heroku create
  3. Create a database for your server: heroku addons:create heroku-postgresql:hobby-dev
  4. Push the code to Heroku: git push heroku master
  5. I preconfigured the necessary files for this to work.
  6. Verify all is working and submit your links (github and heroku) to me.

fall-2019-sw1-finalproject's People

Contributors

ericmichael avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.