/ruby-lang-mls

(+)PRIVATE.POLICY(+) agent.io.code.of.conduct.tracker.sdk.rubyrails.go.apis.scanning>ruby.lang.mls<update.https[iot>query.unbuntu.ssl.url.index.#.m.?.twitter.json.javascript<tos]

Primary LanguageRuby

ruby-lang-mls

The ruby-lang.org mailing list service/subscriber.

A Sinatra application that handles mailing list subscriptions for the www.ruby-lang.org site.

Setup Application

  1. Clone repository and install dependencies:

    git clone https://github.com/stomar/ruby-lang-mls.git
    cd ruby-lang-mls
    bundle install
  2. Setup environment variables, e.g. with:

    export SENDER_EMAIL=john.doe@mymail.org
    export SMTP_USER=username
    export SMTP_PASSWORD=password
    export SMTP_SERVER=smtp.mymail.org

    If necessary, also set SMTP_PORT (default: 587).

  3. Launch:

    bundle exec rackup config.ru
  4. Open site at localhost:9292

Setup Database

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_URL points to it.

  • For local development and testing, the application tries to use an SQLite database when the DATABASE_URL variable is not set.

License

Copyright © 2013-2018 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.