Skip to content

discord-ai-bot with sqlite and postgres dbs forked from elizaOS/eliza-starter. added websocket client-side logger

License

Notifications You must be signed in to change notification settings

genialtechie/magpollo-bot

Repository files navigation

morty

TODO:

  • Figure out deployment strategy
  • build front end to show logs and other stuff
  • [] implement crypto watchlist
  • [] add twitter character and integration

Deployment

Option 1: Railway (Recommended)

  1. Create a Railway account
  2. Create a new project
  3. Deploy the 'pgvector' PostgreSQL template
  4. Deploy your project from dashboard using github
  5. Configure environment variables:
    POSTGRES_URL=DATABASE_URL_FROM_RAILWAY //provided_by_railway
    DISCORD_TOKEN=your_token
    DISCORD_CLIENT_ID=your_client_id
    OPENROUTER_API_KEY=your_key
    SOME_API_KEY=your_key
    
  6. Deploy

Run with Docker

Build and run Docker Compose (For x86_64 architecture)

Edit the docker-compose.yaml file with your environment variables

services:
  eliza:
    environment:
      - OPENROUTER_API_KEY=blahdeeblahblahblah
      - SOME_API_KEY=your_key

Run the image

docker compose up

Build the image with Mac M-Series or aarch64

Make sure docker is running.

# The --load flag ensures the built image is available locally
docker buildx build --platform linux/amd64 -t eliza-starter:v1 --load .

Edit the docker-compose-image.yaml file with your environment variables

services:
  eliza:
    environment:
      - OPENROUTER_API_KEY=blahdeeblahblahblah

Run the image

docker compose -f docker-compose-image.yaml up

About

discord-ai-bot with sqlite and postgres dbs forked from elizaOS/eliza-starter. added websocket client-side logger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published