forked from mito-systems/sol-mem-gen
.. | ||
sol-mem-gen | ||
README.md |
Deploy
Setup
-
Build registry CLI image:
docker build -t cerc/laconic-registry-cli ./sol-mem-gen # Builds image cerc/laconic-registry-cli:latest
-
Configure
userKey
andbondId
in registry CLI sol-mem-gen/config -
Add configuration for registry operations:
cp sol-mem-gen/.registry.env.example sol-mem-gen/.registry.env # Fill in the required values nano sol-mem-gen/.registry.env
-
Add configuration for the app:
curl -s https://git.vdb.to/deep-stack/sol-mem-gen/raw/branch/main/.env.example -o sol-mem-gen/.app.env # Fill in the required values nano sol-mem-gen/.app.env
-
Create a dir for
sol-token-locker
deployment:mkdir sol-token-locker
-
Follow instructions to setup the
sol-token-locker
stack in./sol-token-locker
Run
sol-mem-gen
-
Update configuration for the app as required:
nano sol-mem-gen/.app.env
-
Deploy
sol-mem-gen
App:docker run -it \ -v ./sol-mem-gen:/app/deploy -w /app/deploy \ cerc/laconic-registry-cli:latest \ ./deploy.sh
-
Check deployment logs on deployer UI: https://webapp-deployer-ui.apps.vaasl.io/
-
Visit deployed app: https://memes.markto.market
-
To redeploy the app (using https://git.vdb.to/deep-stack/sol-mem-gen main branch), repeat the previous steps
sol-token-locker
-
Update configuration for token locker as required:
cd sol-token-locker nano sol-token-locker-deployment/config.env
-
Start the deployment:
laconic-so deployment --dir sol-token-locker-deployment start
-
Follow logs:
laconic-so deployment --dir sol-token-locker-deployment logs sol-token-locker -f
-
For updating the deployment:
# Stop the deployment laconic-so deployment --dir sol-token-locker-deployment stop # Update the config as required nano sol-token-locker-deployment/config.env # Re-start deployment laconic-so deployment --dir sol-token-locker-deployment start