Update Readme
Opened this issue · 0 comments
Recommend updating the Readme file as follows for others to test your app (below are the steps I had to follow to run it on my local machine):
-
Clone the repository in Terminal
git clone https://github.com/nixsiow/Burning_Airline_WDI4.git
cd Burning_Airline_WDI4/ -
Switch to Ruby version less than 2.1.2 (i.e. if using RVM):
rvm list
rvm use ruby-1.9.3-p547 (where 1.9.3-p547 is one of the earlier Ruby versions I have listed) -
Run Bundle to install Gems in Gemfile
bundle install -
Create missing file /config/database.yml and add the following contents:
default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
database: wdi4_burning_app_development -
Create and migrate the database, and import the seed information
rake db:create
rake db:migrate
rake db:migrate RAILS_ENV=development
rake db:seed -
Run the Rails Server
rails s