Project 2
Guide Tasks
- Read Tutorial
- Complete the Exercise
Requirements
- Clone the Rails application, run:
bundle,rails db:createandrails db:migrate. - Generate a
PagesControllerwith pageshome,profile, andnews. - Map the
homeaction in thePagesControllerto the root path. - Customize routes for pages so they don't have
/pages/in the URL path. - Install
Devise gemand follow instructions from the Documentation to implement authentication.- When running the command
rails generate devise MODEL, replaceMODELwithAdmin.
- When running the command
- Implement a view helper for authentication links on all pages.
Instructions
- Fork and Clone the Github repo onto your local machine, change into root directory: Repo link
- Run:
bundle install,rails db:create, andrails db:migrate. - Run:
rspecto run tests. - Implement all the requirements necessary to get the tests passing.
- After all tests are passing,
addandcommityour code and push it up to your remote fork. - Paste the link to your fork on this page and submit it.