Simracing Sports League Organization
https://www.sslo.net
| doc | ||
| rsc | ||
| sslo_league | ||
| sslo_lib | ||
| sslo_lib_derive | ||
| sslo_lobby | ||
| sslo_packager | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
sslo
Simracing Sports League Organization
Building
- git clone <path_to_sslo_repo>
- cd sslo
- cargo build
Preparing Database
For execution, sslo needs a directory where all data is stored into (and read from). This directory is called the database - despite from the fact that the database directory contains sqlite database files.
Currently the datbase directory needs to be setup manually (there is no installer yet available). These are the instructions:
- create an empty directory somewhere (eg. path/to/sources/of/sslo/../sslo_test_db/ )
- create TLS certificates
-> for localhost-testing self-signed is sufficient- mkdir sslo_test_db/tls/
- cd sslo_test_db/tls/
- openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes
- copy sslo/doc/sslo_league.toml to sslo_test_db/sslo_league.toml
- adjust sslo_league.toml to fit your needs
-> especially the smtp section needs attention, since currently you need a third-party SMTP provider
Executing SSLO League
- cd path/to/sources/of/sslo/
- cd sslo_league/
- cargo run -- ../../sslo_test_db/sslo_league.toml
- open your browser at http://localhost:8080
(or wahtever port you specified in the .toml config file) - You should now be redirected to https://localhost:*** -> accept your self-signed certificate