Enhance backup process with gzip compression
This commit is contained in:
parent
eae4cec872
commit
07cdadbdac
3 changed files with 62 additions and 9 deletions
12
README.md
12
README.md
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
### Launch Axum
|
||||
|
||||
In directory /backend type:
|
||||
In directory */backend* type:
|
||||
|
||||
```$> cargo run```
|
||||
|
||||
Then browse http://127.0.0.1:8082 (You need to compile the wasm file first, see section *Frontend*)
|
||||
|
||||
At first launch the configuration file '/backend/conf.ron' is created. It contains the port the server will listen to and information about the SMTP server which will be used to send email when a user sign up or change its password.
|
||||
At first launch the configuration file `/backend/conf.ron` is created. It contains the port the server will listen to and information about the SMTP server which will be used to send email when a user sign up or change its password.
|
||||
|
||||
### Autoreload
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ First install cargo watch:
|
|||
|
||||
```$> cargo install cargo-watch```
|
||||
|
||||
In directory /backend type:
|
||||
In directory */backend* type:
|
||||
|
||||
```$> cargo watch -x run```
|
||||
|
||||
|
|
@ -33,11 +33,11 @@ trunk: https://trunkrs.dev
|
|||
|
||||
### Compilation
|
||||
|
||||
In directory /frontend type:
|
||||
In directory */frontend* type:
|
||||
|
||||
```$> trunk build```
|
||||
|
||||
It will create the wasm file in '/backend/static'.
|
||||
It will create the wasm file in */backend/static*.
|
||||
You can now refresh your browser to reload the wasm file.
|
||||
|
||||
# How-to
|
||||
|
|
@ -46,7 +46,7 @@ You can now refresh your browser to reload the wasm file.
|
|||
|
||||
As root:
|
||||
|
||||
1. Copy '/doc/recipes.service' to '/lib/systemd/system/'
|
||||
1. Copy */doc/recipes.service* to */lib/systemd/system/*
|
||||
2. Change the values of `User`, `WorkingDirectory` and `ExecStart`.
|
||||
2. Enabled it: `#> systemctl enable recipes`
|
||||
3. Launch it: `#> systemctl start recipes`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue