Skip to content

hackclub/flavortown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b81b785 · · May 24, 2026

History

2,032 Commits
Apr 14, 2026
Sep 27, 2025
May 21, 2026
Apr 13, 2026
May 21, 2026
Apr 29, 2026
Apr 30, 2026
Apr 27, 2026
Sep 27, 2025
Feb 10, 2026
Mar 26, 2026
Apr 23, 2026
May 1, 2026
Sep 27, 2025
May 6, 2026
Sep 27, 2025
Oct 12, 2025
Nov 8, 2025
Oct 28, 2025
Sep 27, 2025
Apr 10, 2026
Dec 11, 2025
Feb 28, 2026
Sep 27, 2025
Oct 19, 2025
Nov 5, 2025
Jan 26, 2026
Mar 19, 2026
Mar 16, 2026
Apr 17, 2026
May 24, 2026
Nov 17, 2025
Mar 19, 2026
Sep 27, 2025
Sep 27, 2025
Mar 16, 2026
Apr 11, 2026
Mar 16, 2026
Apr 11, 2026
Feb 10, 2026
Apr 17, 2026
May 2, 2026

flavortown

what's cooking in the hack club kitchen 🔥

check out CONTRIBUTING.md for a more detailed guide on how to get up and running with this repo!

non-exhaustive list of setup steps

docker

me and the homies love docker, and it makes it stupid simple, so its highly recommended to use docker to make your life easier.

  1. clone it (duh)

  2. you most likely want a database here, so you can run that with this:

    docker compose up -d db
  3. now to start cookin, run this and it will boot up rails

    docker compose run --service-ports web /bin/bash
  4. now to really turn on the stove, run this (wait a few seconds for stuff to load) and point your browser to http://localhost:3000

    bin/dev
  5. pull out some instant ramen

random commands you might need

if you just need to run a command once (eg test migrations or whatever) here is how

docker compose run web bin/rails db:migrate # please dont do this if you are hooked up to prod
docker compose run web bin/rails bundle install
docker compose run web bin/lintnt

if its giving you a file not found error and you are on windows, try running these commands. They switch line endings to lf (linux) ones

This will reset all your code!

git config --local core.autocrlf false
git rm --cached -r .   
git reset --hard
d

i hate docker

weirdo, but okay, you gotta figure out how to get postgres running yourself bucko

  1. double check your .env file to make sure its pointed at your database

  2. setup the db

    bin/rails db:prepare
  3. start the dev server

    bin/dev
  4. have a fire extinguisher at the ready

production deployment

We deploy to Coolify using Docker. Both the web and worker services use the same Dockerfile.

web service

Just run it-- the entrypoint should trigger

./bin/thrust ./bin/rails server

worker service

In the worker resource's General tab, add this to Custom Docker Options:

--entrypoint "./bin/rails solid_queue:start"