Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.
/ luten Public archive

(Not maintained anymore!)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

LukasKalbertodt/luten

Repository files navigation

Luten

Web app for managing excercise sessions for university courses. ToDo: write a better summary.

Running

Prerequisites

In order to build and launch Luten, you need to install a number of tools:

  • A nightly version of the Rust compiler. You should use 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).
  • A PostgreSQL database. To install the DBS using Ubuntu, you can execute $ sudo apt install postgresql libpq-dev. You probably also want to install pgadmin3.
  • Diesel CLI tool. Install via $ cargo install diesel_cli --no-default-features --features "postgres".
  • SASS compiler. Using Ubuntu, you can execute $ sudo apt install rubygems ruby-dev && sudo gem install sass.
  • Install TypeScript and other dependencies: Install the latest nodejs version from here. Afterwards switch to the 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.

Building & Running

Simply execute $ cargo build. To run the server, execute $ cargo run --bin start_server.


License

Licensed under either of

at your option.

Contribution

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.

About

(Not maintained anymore!)

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •