From c5be2ebcff13abcaa92ef5d509118247003d48a0 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 30 Nov 2023 17:43:48 +0530 Subject: [PATCH] Update readme --- .../data/stacks/uniswap-urbit-app/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md b/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md index 7092d250..9193fe10 100644 --- a/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md +++ b/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md @@ -1,6 +1,6 @@ -# self-hosted uniswap frontend +# Self-hosted Uniswap Frontend -Instructions to setup and deploy uniswap app on urbit +Instructions to setup and deploy Uniswap app on Urbit Build and deploy: @@ -46,12 +46,14 @@ network: ``` ### Data volumes + Container data volumes are bind-mounted to specified paths in the host filesystem. The default setup (generated by `laconic-so deploy init`) places the volumes in the `./data` subdirectory of the deployment directory. The default mappings can be customized by editing the "spec" file generated by `laconic-so deploy init`. --- Once you've made any needed changes to the spec file, create a deployment from it: + ```bash laconic-so --stack uniswap-urbit-app deploy create --spec-file uniswap-urbit-app-spec.yml --deployment-dir uniswap-urbit-app-deployment ``` @@ -69,13 +71,15 @@ Inside the deployment directory, open the file `config.env` and add variable for ## Start the stack Start the deployment: + ```bash laconic-so deployment --dir uniswap-urbit-app-deployment start ``` * List and check the health status of all the containers using `docker ps` and wait for them to be `healthy` -* Run the following to get login password for urbit web interface +* Run the following to get login password for Urbit web interface: + ```bash laconic-so deployment --dir uniswap-urbit-app-deployment exec urbit-fake-ship "curl -s --data '{\"source\":{\"dojo\":\"+code\"},\"sink\":{\"stdout\":null}}' http://localhost:12321" ```