Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 635 Bytes

File metadata and controls

22 lines (14 loc) · 635 Bytes

Ideas Board API

Assumes:

  • Ruby/rubygems installed and in PATH ('ruby -v' to check ruby, 'gem -v' to check rubygems)
  • Bundler gem installed ('which bundler' to check, 'gem install bundler' to install)

To install/run:

  1. Navigate to ideas-board-api folder

cd ./ideas-board-api

  1. Install padrino and required dependencies

bundle install

  1. Create and migrate the database

padrino rake ar:create && padrino rake ar:migrate

  1. Start padrino server (choose a different port if 4000 in use, add -h X.X.X.X for a different IP)

padrino start -p 4000

  1. Update API_URL variable in ideas-board-app to 'http://localhost:4000'