Book-a-Nook is an online platform where a user can look up for available community spaces like libraries and make reservation requests to the admin. The admin checks for the conflicts and sends the corresponding confirmations. Check full features and entities involved on the wiki home page.
- Rails 4.2.5
- Ruby >2.0.0 (tested on 2.2.1)
- PostgreSQL (Dev, Test)
- Clone the repository
- Go to the application's root directory in terminal
- If you are using RVM, create gemset for this application:
rvm gemset create bookanook
- Use the gemset:
rvm gemset use bookanook
- Install gems from Gemfile:
bundle install
- Make necessary changes (postgresql username and password) in config/database.yml
- Run
cp config/social_keys.yml.sample config/social_keys.yml
. Add key and secret for Google authentication. - Create database:
rake db:create
- Run migrations:
rake db:migrate
- Seed database with initial data:
rake db:seed
- Start the server:
rails s
- Visit the application at localhost:3000