Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tocwex/slab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

%slab

A Syndicate launchpad and management dashboard.

Setup

Make sure the following dependencies are installed on your development machine:

Also, run the following commands to prepare your environment:

nvm install 22
nvm use 22
echo "VITE_SHIP_URL=http://127.0.0.1:8080" >> ./ui/.env.local
echo "VITE_INFURA_KEY=…" >> ./ui/.env.local
echo "VITE_MORALIS_KEY=…" >> ./ui/.env.local

Build/Develop

All of the following commands assume that the current working directory is this repository's base directory. Also, before running any development commands, you first need a running Urbit ship. Deploy one on your local machine with:

durploy ship zod

Development Workflows

In order to continuously test back-end code changes as they're made, run:

durploy desk -w zod syndicate-box ./out/desk/

In order to continuously test front-end code changes as they're made, run either of the following:

cd ./ui && npm run dev
cd ./ui && npm run build && npm run serve

For front-end changes, be sure to authenticate via both the NPM web portal (default: 127.0.0.1:3000) and the development ship's web portal (fake ~zod default: 127.0.0.1:8080) using the output of the Urbit +code command as the password.

Deployment Workflows

To generate a new full desk from the existing base desk, run the following command:

make desk

To deploy a new desk onto your development ship, run:

make ship-desk IN_SHIP=zod

To generate a new front-end glob, run the following command:

make glob

To deploy this glob to your development ship, run:

make release IN_SHIP=zod

About

A Syndicate launchpad and management dashboard.

Resources

License

Stars

Watchers

Forks

Packages

No packages published