-
Clone this repository with:
git clone git@github.com:apilytics/apilytics.git -
cd apilytics -
Build the images:
docker-compose build -
Run the app:
docker-compose up -
Access the application from localhost:3000
- Copy the template env file:
cp .env.template .envand add values for the <placeholder> variables in the.envfile.
- Run
yarn seedto manually seed your database with the seeding script insrc/prisma/seed.ts. The script will also be automatically run after the initialyarn migrate. More info at: https://www.prisma.io/docs/guides/database/seed-database
- Run
docker-compose build - Run
docker-compose up -V, (same as--renew-anow-volumes) this forces the anonymousnode_modulesvolume to update its contents from the freshly built image. - 🍻
- Run
yarn generateoutside the container, so the types matching the latest migrations populate your localnode_modules. - 🍻
