Jessica, Sophie, Tomisin, Gianluca, Mabon, David and Paul!
First, clone this repository. Then:
> bundle install
> bin/rails db:create
> bin/rails db:migrate
> bundle exec rspec # Run the tests to ensure it works
> bin/rails server # Start the server at localhost:3000
If you don't have Node.js installed yet, you might run into this error when running rspec:
ExecJS::RuntimeUnavailable:
Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
Rails requires a Javascript runtime to work. The easiest way is to install Node by running brew install node
- and then run bundle exec rspec
again
As a user
So I can have my details saved
I can sign up to Acebook
As a user
So I can access my Acebook session
I can log in to Acebook
As a user
So I can get out of my Acebook session
I can log out of Acebook
As a user
So I can navigate the website easily
I can see and use a nav bar at the top of the page
As a user
So I can see what has been posted
Posts appear with the newest post first