Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

yin

A discord chatbot which supports creating and continuing conversations with several personas

This project uses supabase for deployment, for budgetary concerns.

Support for other cloud providers may get added in the future.

Reverting Prisma Migrations

# Step 1: Generate the migration file against your database
npx prisma migrate diff --from-url "{REMOTE_SERVER}" --shadow-database-url "{PROBABLY_LOCAL_POSTGRES_SERVER}" --to-migrations ./prisma/migrations --script > backward.sql
 
# Step [serverless.yml](serverless.yml)2: Run the migration file against your database
npx prisma db execute --url "{REMOTE_SERVER}" --file backward.sql
CREATE ROLE admin WITH LOGIN PASSWORD '<password within quotes>'
ALTER ROLE admin CREATEDB; 

Running the bot from a container

pm2 start npm --name "yin" -- start

About

A discord chatbot which supports creating and continuing conversations with several personas

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /