The ruby-lang.org mailing list service/subscriber.
A Sinatra application that handles mailing list subscriptions for the www.ruby-lang.org site.
-
Clone repository and install dependencies:
git clone https://github.com/stomar/ruby-lang-mls.git cd ruby-lang-mls bundle install -
Setup environment variables, e.g. with:
export [email protected] export SMTP_USER=username export SMTP_PASSWORD=password export SMTP_SERVER=smtp.mymail.org
If necessary, also set
SMTP_PORT(default:587). -
Launch:
bundle exec rackup config.ru -
Open site at
localhost:9292
The application can log to a PostgreSQL database, provided the
DATABASE_URL environment variable is set and the database is
configured correctly.
-
On Heroku, create a PostgreSQL database and make sure
DATABASE_URLpoints to it. -
For local development and testing, the application tries to use an SQLite database when the
DATABASE_URLvariable is not set.
Copyright © 2013-2024 Marcus Stollsteimer
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 or later (GPLv3+), see www.gnu.org/licenses/gpl.html. There is NO WARRANTY, to the extent permitted by law.