Skip to content
/ yin Public

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

License

Notifications You must be signed in to change notification settings

suvam0451/yin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published