Web app for managing excercise sessions for university courses. ToDo: write a better summary.
In order to build and launch Luten, you need to install a number of tools:
rustup
to
manage your compiler toolchains. This application should work with the
newest nightly, but a version that is guaranteed to work can be found in
.travis.yml
. You want to set an override via rustup
($ rustup override set nightly
in the luten
directory).$ sudo apt install postgresql libpq-dev
. You probably also want to
install pgadmin3
.$ cargo install diesel_cli --no-default-features --features "postgres"
.$ sudo apt install rubygems ruby-dev && sudo gem install sass
.ts
subdirectory and execute npm install
.After those are installed, you have to execute all database migrations. To do
that, you first have to tell Diesel the path to your database. Create a file
.env
in the luten/
folder and fill it with:
DATABASE_URL=postgres://username:password@localhost/database_name
Afterwards execute $ diesel setup
. Your system should now be ready.
Simply execute $ cargo build
. To run the server, execute $ cargo run --bin start_server
.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.