Browse Source

Update readme

pull/21/head
baarkerlounger 3 years ago
parent
commit
9ac497ab12
  1. 12
      README.md

12
README.md

@ -12,10 +12,13 @@ Pre-requisites
### Setup Quickstart ### Setup Quickstart
From the data-collector directory Copy the `.env.example` to `.env` and replace the database credentials with your local postgres user credentials.
Create the database
`rake db:create`
Start the rails server
``` ```
rake db:create
rails s rails s
``` ```
This starts the rails server on localhost:3000 This starts the rails server on localhost:3000
@ -31,3 +34,8 @@ docker-compose up
This exposes the rails server on localhost:8080. This exposes the rails server on localhost:8080.
Note docker-compose runs the production docker image (RAILS_ENV=production) as the Dockerfile doesn't include development gems to keep the image size down. Note docker-compose runs the production docker image (RAILS_ENV=production) as the Dockerfile doesn't include development gems to keep the image size down.
### Infrastructure
The cloud infrastructure running this application is set up using the [infrastructure repository](https://github.com/communitiesuk/mhclg-data-collection-beta-infrastructure)

Loading…
Cancel
Save