New UI experiment for polislike
Currently deployed at https://viewpoints.xyz/
bun iCopy .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:pullStart 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 upCheck current migrations status:
bun run migrate versionRun project:
bun run devbun run migrate make <migration_name>bun run buildYou can deploy this without the logo by setting the NEXT_PUBLIC_VIEWPOINTS_LOGO environment variable to false.