Let's make this happen.
First of all, install all requirements:
Now, in root folder of this repository, run the following commands to install the dependencies:
bundle install
and set the database up:
sudo -u postgres psql
# inside psql
CREATE USER "user" WITH PASSWORD 'pass123';
CREATE DATABASE "app-dev" OWNER "user";
\q
# outside psql
rake db:migrate
Now, we are ready to start the server:
rails start
Go to your browser and see the application running on http://localhost:3000
.
If you don't want to mess up with your system, you can use Vagrant to run the application inside a virtual machine:
vagrant up --provision
vagrant ssh
# we are now inside an ubuntu machine
cd /vagrant
# ... now run the installation and server commands