@@ -57,24 +57,24 @@ Obelisk provides an easy way to develop and deploy your [Reflex](https://github.
5757
5858When developing on obelisk itself you may launch `ghcid` for the corresponding project as follows. For example to launch ghcid for `lib/backend` project:
5959
60−```shell
60+```bash
6161nix-shell -A obeliskEnvs.obelisk-backend --run "cd lib/backend && ghcid -c 'cabal new-repl'"
6262```
6363
6464Or to launch ghcid for `lib/command` project:
6565
66−```shell
66+```bash
6767nix-shell -A obeliskEnvs.obelisk-command --run "cd lib/command && ghcid -c 'cabal new-repl'"
6868```
6969
7070To re-install `ob` from source do
71−```shell
71+```bash
7272nix-env -f /path/to/obelisk -iA command
7373```
7474
7575Note that `ob` will defer to the version found in your project's `.obelisk/impl` directory. To update that version specifically:
7676
77−```shell
77+```bash
7878ob thunk unpack ./.obelisk/impl
7979cd ./.obelisk/impl
8080# apply your changes
@@ -82,7 +82,7 @@ cd ./.obelisk/impl
8282
8383If you want to commit your changes, first push them to your fork of obelisk and then
8484
85−```shell
85+```bash
8686cd /your/project/root
8787ob thunk pack .obelisk/impl
8888git add .obelisk/impl
@@ -102,13 +102,13 @@ access to:
102102
103103To create a new Obelisk project, go to an empty directory and run:
104104
105−```shell
105+```bash
106106ob init
107107```
108108
109109Obelisk leverages ghcid to provide a live-reloading server that handles both frontend and backend. To run your Obelisk app and monitor the source for changes:
110110
111−```shell
111+```bash
112112ob run
113113```
114114
@@ -179,13 +179,13 @@ Since Obelisk generates a self-signed certificate for running https, the browser
179179
180180Build everything:
181181
182−```shell
182+```bash
183183nix-build -A exe --no-out-link
184184```
185185
186186Copy the result to a new directory, add configuration, and run!
187187
188−```shell
188+```bash
189189mkdir test-app
190190ln -s $(nix-build -A exe --no-out-link)/* test-app/
191191cp -r config test-app
@@ -269,7 +269,7 @@ Running `ob deploy push` will give you additional setup instructions.
269269
270270If you'd like to deploy an updated version (with new commits) of your Obelisk app: simply go to the configuration directory, update the source thunk and push:
271271
272−```shell
272+```bash
273273cd ~/code/myapp-deploy
274274ob deploy update
275275ob deploy push
@@ -295,14 +295,14 @@ These versions will work out of the box but iOS SDKs prior to 11.3 should also w
295295
296296More recent Xcodes should also work, as long as one of the SDKs mentioned above has been used.
297297To add another SDK to your current Xcode, [download](https://developer.apple.com/download/more/) the corresponding Xcode, extract it and copy its SDK folder next to the installed one, e.g.
298−```shell
298+```bash
299299open -W Xcode_9.2.xip
300300sudo cp -R Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
301301```
302302
303303
304304You can verify that you have correct versions by running
305−```shell
305+```bash
306306xcodebuild -showsdks
307307```
308308
@@ -328,7 +328,7 @@ Ensure that `bundleIdentifier` matches the App ID of the development profile, or
3283281. Connect the registered iPhone.
3293291. Find your Apple Team ID in the [developer portal](https://developer.apple.com/account/#/membership).
3303301. Run the deploy command with your Team ID:
331−```shell
331+```bash
332332result-ios/bin/deploy [TEAM_ID]
333333# or in debug mode via lldb:
334334result-ios/bin/deploy [TEAM_ID] -d
@@ -338,7 +338,7 @@ result-ios/bin/deploy [TEAM_ID] -d
3383381. Go to [developer portal - distribution profiles](https://developer.apple.com/account/ios/profile/production).
339339Create and download a distribution profile.
3403401. Run the package script with your TEAM ID and your distribution profile to create a `.ipa`:
341−```shell
341+```bash
342342result-ios/bin/package [TEAM_ID] /path/to/output/.ipa /path/to/profile/file
343343```
344344