Tools required: rust
and cargo
. You can use rustup to install them.
Run cargo build
to compile and cargo run
to start the web server.
By default, the server listens on port 4343
. Change this value with the PORT
environment variable.
Run cargo build --release
to compile with optimisations enabled.
The binary will be available at ./target/release/epitech-ics
.
You can also deploy with Docker by building the Dockerfile and using it.