Skip to content

Commit

Permalink
Add initial Developer bootstrap instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-dce committed Apr 8, 2017
1 parent 584186d commit 683d5b7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ doc

# Ignore coverage report
coverage

# Ignore local ruby version manager config files
.ruby-version
.ruby-gemset

# Ignore redis database saves (if launched in the application root directory)
dump.rdb
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,23 @@ Things you may want to cover:
* Deployment instructions

* ...

## Developer Setup

1) Change to your development working directory root
`cd .`
1) Use your ruby verstion manager to set your ruby version to **2.3.4** and the gemset of your choice
eg. `rvm use --create 2.3.4@laevigata`
1) Clone this repo to your local development environment
`git clone https://github.com/curationexperts/laevigata.git`
1) Change to the application directory
`cd laevigata`
1) Run the first time setup script
`bin/setup`
1) Start redis
`redis-server &`
use ` &` to start in the background, or run redis in a new terminal session
1) Run the test suite
`bin/rails ci`
1) If the tests run without error, start the demo server
`bin/rails hydra:server`

0 comments on commit 683d5b7

Please sign in to comment.