Skip to content

hackclub/flavortown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flavortown

what's cooking in the hack club kitchen 🔥

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/lint

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

About

what's cooking in the hack club kitchen

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 19