Rename stack name to uniswap-urbit-app

This commit is contained in:
Nabarun 2023-11-30 11:24:43 +05:30
parent 92c86b2cf4
commit 72d48df24d
6 changed files with 10 additions and 10 deletions

View File

@ -9,7 +9,7 @@ services:
command: ["./build.sh"]
volumes:
- uniswap_build:/app/build
- ../config/uniswap-frontend/build.sh:/app/build.sh
- ../config/uniswap-interface/build.sh:/app/build.sh
ports:
- "3000"
healthcheck:
@ -31,7 +31,7 @@ services:
volumes:
- uniswap_build:/app/build
- urbit_data:/urbit
- ../config/uniswap-frontend/deploy-to-urbit.sh:/app/deploy-to-urbit.sh
- ../config/uniswap-interface/deploy-to-urbit.sh:/app/deploy-to-urbit.sh
volumes:
uniswap_build:

View File

@ -12,7 +12,7 @@ Build and deploy:
Clone required repositories:
```bash
laconic-so --stack uniswap-frontend setup-repositories
laconic-so --stack uniswap-urbit-app setup-repositories
# If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the repositories mentioned below and re-run the command
```
@ -20,7 +20,7 @@ laconic-so --stack uniswap-frontend setup-repositories
Build the container images:
```bash
laconic-so --stack uniswap-frontend build-containers
laconic-so --stack uniswap-urbit-app build-containers
```
## Create a deployment
@ -28,7 +28,7 @@ laconic-so --stack uniswap-frontend build-containers
First, create a spec file for the deployment, which will map the stack's ports and volumes to the host:
```bash
laconic-so --stack uniswap-frontend deploy init --output uniswap-frontend-spec.yml
laconic-so --stack uniswap-urbit-app deploy init --output uniswap-urbit-app-spec.yml
```
### Ports
@ -45,7 +45,7 @@ The default setup (generated by `laconic-so deploy init`) places the volumes in
Once you've made any needed changes to the spec file, create a deployment from it:
```bash
laconic-so --stack uniswap-frontend deploy create --spec-file uniswap-frontend-spec.yml --deployment-dir uniswap-frontend-deployment
laconic-so --stack uniswap-urbit-app deploy create --spec-file uniswap-urbit-app-spec.yml --deployment-dir uniswap-urbit-app-deployment
```
## Set env variables
@ -62,7 +62,7 @@ Inside the deployment directory, open the file `config.env` and add variable for
Start the deployment:
```bash
laconic-so deployment --dir uniswap-frontend-deployment start
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`
@ -72,11 +72,11 @@ laconic-so deployment --dir uniswap-frontend-deployment start
To stop all azimuth services running in the background, while preserving chain data:
```bash
laconic-so deployment --dir uniswap-frontend-deployment stop
laconic-so deployment --dir uniswap-urbit-app-deployment stop
```
To stop all azimuth services and also delete data:
```bash
laconic-so deployment --dir uniswap-frontend-deployment stop --delete-volumes
laconic-so deployment --dir uniswap-urbit-app-deployment stop --delete-volumes
```

View File

@ -1,5 +1,5 @@
version: "0.1"
name: uniswap-frontend
name: uniswap-urbit-app
repos:
# Uniswap interface
# TODO: Use release