mirror of
https://github.com/getzola/zola
synced 2025-03-04 06:57:17 +00:00
docs: Update installation.md to use --locked (#2284)
This commit is contained in:
parent
9ae7d15139
commit
49b56c3026
1 changed files with 2 additions and 2 deletions
|
@ -204,14 +204,14 @@ From a terminal, you can now run the following commands:
|
|||
```sh
|
||||
$ git clone https://github.com/getzola/zola.git
|
||||
$ cd zola
|
||||
$ cargo install --path .
|
||||
$ cargo install --path . --locked
|
||||
$ zola --version
|
||||
```
|
||||
|
||||
If you encountered compilation errors like `error: failed to run custom build command for 'ring v0.16.20'`, you can try the command below instead:
|
||||
|
||||
```sh
|
||||
$ cargo build --release --no-default-features --features=native-tls
|
||||
$ cargo build --release --locked --no-default-features --features=native-tls
|
||||
```
|
||||
|
||||
The binary will be available in the `target/release` directory. You can move it in your `$PATH` to have the
|
||||
|
|
Loading…
Add table
Reference in a new issue