Skip to content

Commit

Permalink
Add dev environment instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
btk5h committed Aug 26, 2020
1 parent 045df6c commit 635e532
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# SBHacks API

## Setting up your development environment

- Clone this repo
- Install ruby 2.7.1, preferably using [rvm](https://rvm.io/rvm/install#basic-install)
- Install [PostgreSQL](https://www.postgresql.org/download/)
(Note: PostgreSQL must be installed before you run `bundle install`)
- Run `bundle install` to install dependencies
- Run `rails db:create` to create a development and test database (PostgreSQL must be running!)
- Run `rails db:schema:load` to load the database schemas onto the development and test databases
- Run `rails db:seed` to load initial data into the development database
- Obtain the `development.key` and put it in `config/credentials`. This is used for decrypting the encrypted
secrets file.

0 comments on commit 635e532

Please sign in to comment.