@@ -101,23 +101,6 @@ Obelisk officially supports terminal-based feedback (akin to [`ghcid`](https://g
101101
102102## Deploying
103103
104−### Locally
105−
106−Build everything:
107−
108−```bash
109−nix-build -A exe --no-out-link
110−```
111−
112−Copy the result to a new directory, add configuration, and run!
113−
114−```bash
115−mkdir test-app
116−ln -s $(nix-build -A exe --no-out-link)/* test-app/
117−cp -r config test-app
118−(cd test-app && ./backend)
119−```
120−
121104### Default EC2 Deployment
122105
123106In this section we will demonstrate how to deploy your Obelisk app to an Amazon EC2 instance. Obelisk deployments are configured for EC2 by default (see [Custom Non-EC2 Deployment](#custom-non-ec2-deployment)).
@@ -182,6 +165,23 @@ Here's a `module.nix` that is configured for deployment to a VirtualBox VM (runn
182165
183166The `{...}:` and following is the [NixOS module](https://nixos.org/nixos/manual/index.html#sec-writing-modules) definition.
184167
168+### Locally
169+
170+To get a full build of your app to run locally:
171+
172+```bash
173+nix-build -A exe --no-out-link
174+```
175+
176+Copy the result to a new directory, add configuration, and run!
177+
178+```bash
179+mkdir test-app
180+ln -s $(nix-build -A exe --no-out-link)/* test-app/
181+cp -r config test-app
182+(cd test-app && ./backend)
183+```
184+
185185### From macOS
186186
187187Deploying from macOS requires some extra setup: