Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 810 Bytes

setup.md

File metadata and controls

20 lines (15 loc) · 810 Bytes

Before we start

What you'll need:

  • Postgresql installed on your system
  • Ruby 2.4.1 installed on your system
  • 'Books' application cloned and set up

How to set up 'Books' application:

  1. Clone it from https://github.com/visualitypl/security-workshop-app
  2. Go to the app directory cd security-tutorial
  3. If you don't have bundler installed, run gem install bundler
  4. Install gems bundle install
  5. Go to the config/database.yml config file and config the database. There may be your postgres username and password needed if the default configuration doesn't work.
  6. Create and migrate the database rake db:create && rake db:migrate
  7. Seed the database with sample data rake db:seed
  8. Run rails server rails server
  9. Don't analyze the code, simply follow the instructions :)