@@ -101,23 +101,6 @@ Obelisk officially supports terminal-based feedback (akin to [`ghcid`](https://g
102## Deploying
102## Deploying
109−nix-build -A exe --no-out-link
112−Copy the result to a new directory, add configuration, and run!
116−ln -s $(nix-build -A exe --no-out-link)/* test-app/
117−cp -r config test-app
118−(cd test-app && ./backend)
121### Default EC2 Deployment
104### Default EC2 Deployment
123In 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)).
106In 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
183The `{...}:` and following is the [NixOS module](https://nixos.org/nixos/manual/index.html#sec-writing-modules) definition.
166The `{...}:` and following is the [NixOS module](https://nixos.org/nixos/manual/index.html#sec-writing-modules) definition.
170+To get a full build of your app to run locally:
173+nix-build -A exe --no-out-link
176+Copy the result to a new directory, add configuration, and run!
180+ln -s $(nix-build -A exe --no-out-link)/* test-app/
181+cp -r config test-app
182+(cd test-app && ./backend)
185### From macOS
185### From macOS
187Deploying from macOS requires some extra setup:
187Deploying from macOS requires some extra setup: