1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-05-02 06:02:45 +02:00

adding --release param to cargo commands

neil 2021-03-21 20:09:56 +00:00
parent 7f0faa8f4e
commit effe295124

@ -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.