@@ -22,15 +22,22 @@ Obelisk provides an easy way to develop and deploy your [Reflex](https://github.
23 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
23 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
26 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
25 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
27 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
26 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
28+ * other Linux: enable sandboxing (see https://github.com/obsidiansystems/obelisk/issues/6)
32+ * MacOS: disable sandboxing (there are still some impure dependencies for now)
29− * If you are on MacOS, restart the nix daemon
36+ then restart the nix daemon
31− sudo launchctl stop org.nixos.nix-daemon
38+ sudo launchctl stop org.nixos.nix-daemon
32− sudo launchctl start org.nixos.nix-daemon
39+ sudo launchctl start org.nixos.nix-daemon
341. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
411. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
36### Contributing to Obelisk
43### Contributing to Obelisk
@@ -145,7 +152,7 @@ cd ~/code/myapp-deploy
145ob deploy push
152ob deploy push
148−`ob deploy push` will locally build your app and then transfer it, along with all the Nix package dependencies, via ssh to the EC2 instance.
155+`ob deploy push` will locally build your app and then transfer it, along with all the Nix package dependencies, via ssh to the EC2 instance. The backend will live in `/var/lib/backend`.
150At this point you are done. Your app will be accessible at `${ROUTE}`.
157At this point you are done. Your app will be accessible at `${ROUTE}`.
@@ -259,7 +266,7 @@ First, if you do not already have a keystore, create it as follows (for more inf
259nix-shell -p androidenv.platformTools --run "keytool -genkey -v -keystore myandroidkey.jks -keyalg RSA -keysize 2048 -validity 10000 -alias myandroidalias"
266nix-shell -p androidenv.platformTools --run "keytool -genkey -v -keystore myandroidkey.jks -keyalg RSA -keysize 2048 -validity 10000 -alias myandroidalias"
262−(Besure to give an appropriate keystore filename and key alias string above.)
269+(Be sure to give an appropriate keystore filename and key alias string above.)
264The `keytool` command will ask you for some details, including a keystore password and a key password (we will use these passwords further below). It will now have created a `myandroidkey.jks` file under the current directory. Move that to somewhere safe, and note down its full path.
271The `keytool` command will ask you for some details, including a keystore password and a key password (we will use these passwords further below). It will now have created a `myandroidkey.jks` file under the current directory. Move that to somewhere safe, and note down its full path.