schleuder-web, a web interface for Schleuder
This is a full featured web interface to administrate Schleuder-lists and subscriptions.
Installation
Make sure you have these libraries installed:
- ruby-bundler
- libxml2
- zlib
- sqlite3 (or your DMBS of choice)
On a Debian-system, run e.g. this: apt install ruby-bundler libxml2-dev zlib1g-dev libsqlite3-dev
.
To have a glimpse
- bundle install
- ./bin/setup
- ./bin/start
- Visit http://localhost:3000/
To run productively
- Mandatory: In
config/secrets.yml
changesecret_key_base
or set the environment variable SECRET_KEY_BASE. - Mandatory: In
config/schleuder-web.yml
addtls_fingerprint
andapi_key
(get them from the admins that run Schleuder's api-daemon). You can also set them through the environment variables SCHLEUDER_TLS_FINGERPRINT and SCHLEUDER_API_KEY. - Optional: edit
config/database.yml
. -
bundle install --without development
. -
bundle exec rake db:setup RAILS_ENV=production
. - Run
RAILS_ENV=production bundle exec rake assets:precompile
to precompile all images and css files. - Setup mod_passenger, or a proxy +
bundle exec rails server -e production
.
Usage
- Log into the webinterface with email "root@localhost" and password "slingit!".
Compatibility with Schleuder versions
Schleuder-web adheres to Semantic Versioning, and promises that its major versions shall always be compatible with those of Schleuder. This means that the (imagined) version 1.0.3
of Schleuder-web should work with the (imagined) versions of Schleuder 1.0.5
, 1.1.1
, and 1.2.0
, but not with the (imagined) version 2.0.0
.
Versions are published using signed git-tags.
TODO
See also rake notes
Testing
We use rspec to test our code. To execute the test suite run:
bundle exec rspec
We are working on extendig the test coverage.
Contributing
Please see CONTRIBUTING.md.
Mission statement
Please see MISSION_STATEMENT.md.
Code of Conduct
We adopted a code of conduct. Please read CODE_OF_CONDUCT.md.
License
GNU GPL version 3.