gem install bundle
bundle install
bundle exec rake db:create
bundle exec rake db:schema:load
bundle exec rake db:seed
bundle exec rails s
Install ruby:
$ rvm install 2.4.0
Install bundle:
$ gem install bundle
Install dependencies:
$ bundle install
Now install PostgreSQL (see archlinux wiki):
$ sudo pacman -Syu $ sudo pacman -S postgresql $ sudo -u postgres -i [postgres]$ initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data' [postgres]$ logout $ sudo systemctl start postgresql.service $ sudo -u postgres -i [postgres]$ createuser --interactive [postgres]$ logout
Initialize db:
$ bundle exec rake db:create $ bundle exec rake db:schema:load $ bundle exec rake db:seed $ bundle exec rails s
Open the webpage shown in your terminal from the last command in your browser.
There was an error while loading. Please reload this page.