From f4291222865a85c9e5a15ae2a37f60b0699c02bf Mon Sep 17 00:00:00 2001 From: leordev Date: Tue, 5 Jun 2018 05:10:05 -0400 Subject: [PATCH] adjust readme setup --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 67ad283..f4882e7 100644 --- a/README.md +++ b/README.md @@ -96,12 +96,17 @@ Finally, to start the WINDSHIELD server: ``` cd ~/windshield/backend +mix local.hex --force +mix local.rebar mix deps.get +MIX_ENV=prod mix compile ./start.sh + +# after a few seconds (10s) try: curl http://localhost:4000/api/health-check ``` -If the installation was successfull you should see an `"OK"` after the last command. +If the installation was successfull you should see an `"OK"` after the last command. If you don't please open stderr.txt (in this very same directory) and open an issue with the occurred error. ### Frontend UI Installation @@ -111,9 +116,7 @@ Here we assume that you have `node` & `npm` installed already in your server, th cd ~/windshield/frontend cp .env.example .env nano .env # SETUP YOUR DOMAIN/IP ADDRESSES -npm install -g elm -npm install -g elm-github-install -npm install -g create-elm-app +npm install -g elm elm-github-install create-elm-app npm install elm-app build ```