README: Fix instructions for running a built obelisk app locally
commitb3243cbbb83f2fbd47cde3507827767e7920d805
authorElliot Cameron <eacameron@gmail.com>
dateFri 6 Sep 2019, 22:25 (7 years ago)
parentf02b2c3
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