@@ -22,15 +22,22 @@ Obelisk provides an easy way to develop and deploy your [Reflex](https://github.
2222 ```
2323 1. If you are using another operating system or linux distribution, ensure that these lines are present in `/etc/nix/nix.conf`:
2424 ```
25− sandbox = true
2625 substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
2726 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
2827 ```
29− * If you are on MacOS, restart the nix daemon
30− ```
31− sudo launchctl stop org.nixos.nix-daemon
32− sudo launchctl start org.nixos.nix-daemon
33− ```
28+ * other Linux: enable sandboxing (see https://github.com/obsidiansystems/obelisk/issues/6)
29+ ```
30+ sandbox = true
31+ ```
32+ * MacOS: disable sandboxing (there are still some impure dependencies for now)
33+ ```
34+ sandbox = false
35+ ```
36+ then restart the nix daemon
37+ ```
38+ sudo launchctl stop org.nixos.nix-daemon
39+ sudo launchctl start org.nixos.nix-daemon
40+ ```
34411. Install obelisk: `nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command`
3542
3643### Contributing to Obelisk
@@ -145,7 +152,7 @@ cd ~/code/myapp-deploy
145152ob deploy push
146153```
147154
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`.
149156
150157At this point you are done. Your app will be accessible at `${ROUTE}`.
151158
@@ -259,7 +266,7 @@ First, if you do not already have a keystore, create it as follows (for more inf
259266nix-shell -p androidenv.platformTools --run "keytool -genkey -v -keystore myandroidkey.jks -keyalg RSA -keysize 2048 -validity 10000 -alias myandroidalias"
260267```
261268
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.)
263270
264271The `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.
265272