Add some instructions about cross-compiling
The configs are included, so might as well mention what to do
This commit is contained in:
parent
b8d1fd7695
commit
3f79bad38f
12
README.md
12
README.md
|
@ -53,3 +53,15 @@ The feed will be available at http://localhost:3030/.
|
|||
### Force a profile to be in a certain country
|
||||
|
||||
`cargo run --bin force_profile_country -- --help`
|
||||
|
||||
## Cross-compiling on non-Linux machines to deploy on Linux
|
||||
|
||||
1. Install `cross` by following their [installation guide](https://github.com/cross-rs/cross)
|
||||
|
||||
2. Build the binaries in release mode:
|
||||
|
||||
```
|
||||
cross build --release
|
||||
```
|
||||
|
||||
3. Deploy the binaries in `target/x86_64-unknown-linux-gnu/release/` as you see fit
|
||||
|
|
Loading…
Reference in New Issue