New UI experiment for polislike
Currently deployed at https://viewpoints.xyz/
bun i
Copy .env.example to .env and fill in the values.
If you need live env vars, link vercel project (vercel link
) then run the following command:
bun run env:pull
Start local database - docker compose up -d
Make sure you've installed the dependencies and have the environment variables set.
If you've got a new database (and you are not using docker-compose.yml
), import db/RUN_BEFORE_MIGRATIONS.sql into it.
Then deploy migrations (if needed):
bun run migrate up
Check current migrations status:
bun run migrate version
Run project:
bun run dev
bun run migrate make <migration_name>
bun run build
You can deploy this without the logo by setting the NEXT_PUBLIC_VIEWPOINTS_LOGO
environment variable to false
.