Skip to content

joshuanianji/treehouse-bot

Repository files navigation

Treehouse Bot

A Discord bot with some other apps. Scaffolded from Turborepo Starter.

  • apps/bot: The main discord bot, written with Discord.js. Hosted on Digital Ocean via Docker.
  • apps/server The server, written with Express. Hosted on Digital Ocean via Docker.
  • apps/web: The web app, built with Next.JS and hosted on Netlify.
  • packages/*: Place to store shared code between my apps.

Prerequisites

Make sure you have the following installed on your system:

Starter

This runs the server, bot and web all in one go on your computer.

nvm use
yarn
yarn dev

Run with Docker

To emulate production, run the Server and Bot in Dockerfiles.

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up

Run Production with Docker

For actual production servers, use downloaded images from GHCR (Github Container Registry).

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d

View Logs of running Containers

docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs -ft

About

A discord bot for fun

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •