From 9ac497ab129b8fb2b24b63f64892155fdacc1ac7 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 7 Sep 2021 10:45:25 +0100 Subject: [PATCH] Update readme --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 771d3b16b..64a16162c 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,13 @@ Pre-requisites ### 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 ``` This starts the rails server on localhost:3000 @@ -31,3 +34,8 @@ docker-compose up 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. + + +### Infrastructure + +The cloud infrastructure running this application is set up using the [infrastructure repository](https://github.com/communitiesuk/mhclg-data-collection-beta-infrastructure)