Add a stack for running uniswap frontend on urbit #670

Merged
nikugogoi merged 25 commits from ng-uniswap-frontend into main 2023-12-04 13:09:20 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 87e296d248 - Show all commits

View File

@ -19,4 +19,5 @@ cp -r /app-globs/uniswap/* ./globs
# Serve the glob file
cd globs
echo "Hosting glob file at port 3000"
python3 -m http.server 3000 --bind 0.0.0.0

View File

@ -39,8 +39,6 @@ Edit `network` in spec file to map container ports to same ports in host
...
network:
ports:
uniswap-interface:
- 3000:3000
urbit-fake-ship:
- 8080:80
- 12321:12321
@ -77,6 +75,11 @@ 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
```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"
```
## Clean up
To stop all azimuth services running in the background, while preserving chain data: