Merge pull request #518 from obsidiansystems/eac@readme-fix-local-deploy-commands
README: Fix instructions for running a built obelisk app locally
commitee9b3df75f4472440efae497b59c8e07012dde14
authorAli Abrar <aliabrar@gmail.com>
dateWed 2 Oct 2019, 12:13 (7 years ago)
parent5b4774967ea0cc
README.md+6−4
@@ -128,14 +128,16 @@ For further information see [the Haskell section](https://nixos.org/nixpkgs/manu
128128Build everything:
129129
130130```
131−nix-build -A exe -o result-exe
131+nix-build -A exe --no-out-link
132132```
133133
134−Run the server:
134+Copy the result to a new directory, add configuration, and run!
135135
136136```
137−cd result-exe
138−./backend
137+mkdir test-app
138+ln -s $(nix-build -A exe --no-out-link)/* test-app/
139+cp -r config test-app
140+(cd test-app && ./backend)
139141```
140142
141143### EC2