Skip to content

stomar/ruby-lang-mls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]
    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-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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published