Shifty
======
Install instructions
How to start up with ruby on rails on ubuntu:
-
Ruby on rails and shifty has some dependencies to other libraries that will haunt you later if you don't have them installed, so make sure you have libsqlite3-dev, libpq-dev and nodejs installed from your repository
(should be something like
apt-get install libsqlite3-dev libpq-dev nodejs
) -
We need rvm to manage ruby version, so follow instructions on:
If you don't have curl installed, you can get it from the repository.
-
Make sure bundler is installed:
gem install bundler
-
In the shifty folder, run
bundle install
. This will install rails and all other dependencies -
To set up the database and generate data for development, run:
rake shifty:init
-
You should be finished now, try to run
rails s
to start the webserver.
For OS X, follow these instructions:
-
Make sure you have xcode (and preferably the command line tools too) installed
-
Install homebrew:
-
Install nodejs:
brew install nodejs
-
We now need to install bundler
gem install bundler
-
This will install rails and all dependencies:
bundler install
-
To set up the database and generate data for development, run:
rake shifty:init
-
Everything should now be ready, run
rails s
and go to http://localhost:3000/