From effe295124c0be73610a68211bc347dc735da877 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 21 Mar 2021 20:09:56 +0000 Subject: [PATCH] adding --release param to cargo commands --- Setting-up-Nextcloud-and-sncf.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Setting-up-Nextcloud-and-sncf.md b/Setting-up-Nextcloud-and-sncf.md index 4c2e3f6..685a526 100644 --- a/Setting-up-Nextcloud-and-sncf.md +++ b/Setting-up-Nextcloud-and-sncf.md @@ -119,10 +119,10 @@ Now your Nextcloud instance should be ready. Let's move on to sncf. - `libsqlite3-0` if you're using SQLite - `libpq5` if you're using PostgreSQL - `libmysql++-dev` if you're using MySQL / MariaDB. - - Compile and run using Cargo. You may need to [install Rust](https://rustup.rs/) beforehand.. - - `cargo run --no-default-features --features sqlite` for SQLite - - `cargo run` for PostgreSQL - - `cargo run --no-default-features --features mysql` for MySQL / MariaDB. + - Compile and run using Cargo. You may need to [install Rust](https://rustup.rs/) beforehand. + - `cargo run --release --no-default-features --features sqlite` for SQLite + - `cargo run --release` for PostgreSQL + - `cargo run --release --no-default-features --features mysql` for MySQL / MariaDB. 10. Route through sncf instead of Nextcloud. - [reverse-proxy only] Route your public-facing address to sncf instead of Nextcloud. - [reverse-proxy only] [optional] You might want to set up direct access to Nextcloud without going through sncf, for technical purposes. You can do that on a secret port or route (not `/admin/`, though). Be sure to strenghten this access (at least with basic auth) to avoid transforming it into a backdoor for evil people.