| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The thing that powers hackathons.hackclub.com!
| 📝 Application Form | 📬 Subscription Email |
|---|---|
|
|
This app is built with 🛤️ Ruby on Rails (running on the edge) using 🐘 PostgreSQL for the database and 💾 Solid Queue for running background jobs.
Make sure you have Docker and Ruby 4 installed.
Clone the repo
git clone https://github.com/hackclub/hackathons-backend.git
cd hackathons-backendInstall dependencies
bundle installStart Postgres
docker compose up --detachSetup the database and run the server
rails db:prepare
rails serverThe application will now be running at localhost:3000!
Postgres will need to be installed in order for the pg gem to be compiled.
Additionally, Active Storage depends on vips to process images. You'll want this dependency installed on your machine. For Macs, run:
brew install vipsSolid Queue is used to process background jobs in production. In development, we use the good old default Active Job Async queue adapter.
To check up on jobs, visit /admin/jobs on the production site. You must be logged in as an admin to access this page.
Application performance monitoring sponsored by AppSignal .
| Back | FazBrowse Home | New Git URL |