- Install rbenv with instructions from https://github.com/rbenv/rbenv
git clonethis Git repo to your local computer, andcdinto the the repository.- Run
rbenv install 2.6.5to install Ruby 2.6.5. - Run
rbenv local 2.6.5 - Run
gem install bundler - Run
bundle install --path vendorto install dependency packages. - Copy
config/database.yml.examplefile toconfig/database.yml. - Run
bundle exec rake db:migrateto create/setup the database. - Run
bundle exec rails serverto start the local website server. You should be able to go to http://localhost:3000 in your browser to see the site. Note that loading the website for the first time might take a bit of time.
The username/password for the admin panel is set using environment variables. To be able to access it, you need to export the following environment variables:
export WBL_ADMIN_USERNAME="some_username"
export WBL_ADMIN_PASSWORD="some_password"
# Then launch the server with:
bundle exec rails server
With this, you should be able to go to http://localhost:3000/admin, and use the username/password you chose above to access the admin panel.