Guestbook is a simple Rails application that allows you:
- view guestbook entry listings
- create an entry with your name and message
- delete a guestbook entry
This documents the steps that are necessary to get the application up and running on your machine
You're going to need:
- Linux or OS X — Windows may work, but I'm not sure as this instruction is for Linux or OS X
- Ruby,
version 2.2.5
or newer - it's setup with version2.3.1
- Database - it's setup with
sqlite3
. To usepostgreSQL
, you will need to replace thesqlite3
gem withgem 'pg'
in theGemfile
- Bundler — If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler in a terminal.
- Clone the repository
$ git clone [email protected]:esteedqueen/guestbook.git
$ cd guestbook
- Run setup to install the gems configurations and setup the database.
$ bin/setup
- Run rails server
$ rails s
1 Run rake
or rspec
to run the full tests specs
$ rspec
OR
$ rake