This is the source code for zbugs.
We deploy this continuously (on trunk) to aws and is our dogfood of Zero.
- Docker
- Node 20+
Install and build dependencies the mono repository root:
# In repository root
npm install
npm run buildIn a a new terminal window
Create a .env file in the zbugs directory based on the example:
# In apps/zbugs
cp .env.example .env# In apps/zbugs
npm run db-up
# In apps/zbugs in another tab
npm run db-migrate
npm run db-seed# In apps/zbugs
npm run zero-cache-devIn yet another another terminal window
# In apps/zbugs
npm run devAfter you have visited the local website and the sync / replica tables have populated.
rm /tmp/zbugs-sync-replica.db*# In apps/zbugs/docker
docker compose down -v# In apps/zbugs/db/seed-data/gigabugs
./getData.sh
# In apps/zbugs
npm run db-up
# In apps/zbugs in another tab
npm run db-migrate
ZERO_SEED_DATA_DIR=./db/seed-data/gigabugs/ npm run db-seed