This is a full featured web interface to administrate Schleuder-lists and subscriptions.
Make sure you have these programs and libraries installed:
- ruby-bundler
- ruby >= 2.7
- libxml2
- zlib
- sqlite3 (or your DMBS of choice)
On a Debian-system, run e.g. this: apt install ruby ruby-bundler libxml2-dev zlib1g-dev libsqlite3-dev
.
- bundle install
- ./bin/setup
- ./bin/start
- Visit http://localhost:3000/
- Mandatory: Set the environment variable
SECRET_KEY_BASE
, so that the rails process can read it (e.g. by exporting it). (If this values changes, all cookies and thus login sessions become invalids, so use a static value if you restart often.) - 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
.- Setup mod_passenger, or a proxy +
bundle exec rails server -e production
.
- Log into the webinterface with email "root@localhost" and password "slingit!".
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.
See also rake notes
We use rspec to test our code. To execute the test suite run:
bundle exec rspec
We are working on extendig the test coverage.
Please see CONTRIBUTING.md.
Please see MISSION_STATEMENT.md.
We adopted a code of conduct. Please read CODE_OF_CONDUCT.md.
GNU GPL version 3.