Skip to content
KopymaticPublic

About

My website! Link shortener, ""blog"", and about page, all in one!

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Kopymatic.com

My personal little blogging/ranting/testing/learning/whatever platform

Here im going to put notes (mostly for me to use later)

How to dev

for some reason i forgot this after taking a break so....

to run the project without suffering too much, run the db on its own docker compose --profile dev up and then just the usual npm run dev

you should also be able to use startup-dev.sh

Example .env

DATABASE_URL="file:./../data/dev.db" # change to prod.db in production

# Discord id for who can manage posts and stuff
ADMIN_DISCORD_ID="<DISCORD ID HERE>"

# AUTH STUFF
# you should use npx auth to create this (or bunx auth if you're super cool)
AUTH_SECRET="<TOP SECRET>"
AUTH_DISCORD_ID="<DISCORD APPLICATION ID HERE>"
AUTH_DISCORD_SECRET="<DISCORD OAUTH SECRET HERE>"

# Only for production
AUTH_TRUST_HOST=true
ORIGIN="<origin>"
NEXTAUTH_URL="<next auth url>"

# For automatic backups.
DO_BACKUPS=true
BACKUP_INTERVAL=43200000

About

My website! Link shortener, ""blog"", and about page, all in one!

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages