This is the Rails web application that runs https://wednesdayworlds.org
$ git clone git://github.com/anolson/wednesday_worlds.git
$ cd wednesday_worlds
$ bin/setup
$ heroku container:push web --app wednesdayworlds-staging
$ heroku container:release web --app wednesdayworlds-staging
$ heroku container:push web --app wednesdayworlds
$ heroku container:release web --app wednesdayworlds
$ heroku run "bin/rake events:generate[YYYY-MM-DD]" --app=wednesdayworlds
$ cp .env-sample .env
$ docker compose build --pull web
$ docker compose up web
$ docker compose run --rm web bin/rails c
$ docker compose run --rm web bundle install
$ docker compose run --rm web bundle update rails
$ docker compose run --rm test bin/rails spec
Reset docker volumes (keep in mind this will remove all postgres data and bundled gems)
$ docker compose down --volumes
STORAGE_MODE=replication
LITESTREAM_REPLICA_URL=s3://wednesdayworlds/data/development.sqlite3
LITESTREAM_ACCESS_KEY_ID=<access_key_id>
LITESTREAM_SECRET_ACCESS_KEY=<secret_access_key>
LITESTREAM_DATA_PATH=/data/db/development.sqlite3
local– DB only stored locally indb– useful for local development.restore_only– DB restored from S3 (without replication) – useful if you need to replicate data from another host.replication– DB restored from S3 (with replication)
Notes:
- Bundler needs to be configured with env vars (on Heroku)
- Make sure that assets are compiled for production
- Make sure to set
RAILS_SERVE_STATIC_FILES=true
https://devcenter.heroku.com/articles/container-registry-and-runtime
Code is licensed under the MIT License; site content (copy, ride/route descriptions) is licensed under CC BY 4.0.
Copyright © 2010-2026 Wednesday Worlds.