mirror of
https://github.com/yewprint/yewprint
synced 2024-11-22 03:23:03 +00:00
Update doc
This commit is contained in:
parent
8d8d19bd69
commit
9578c54047
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -13,6 +13,12 @@ a star to let me know you are interested in this project.
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
## Use as a library (in your project)
|
||||||
|
|
||||||
|
```toml
|
||||||
|
yewprint = { git = "https://github.com/cecton/yewprint.git", branch = "main" }
|
||||||
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
This section will walk you through setting up the environment required to modify
|
This section will walk you through setting up the environment required to modify
|
||||||
|
@ -25,7 +31,7 @@ the source of `yewprint`.
|
||||||
- [simple-http-server](https://github.com/TheWaWaR/simple-http-server)
|
- [simple-http-server](https://github.com/TheWaWaR/simple-http-server)
|
||||||
- [cargo-watch](https://github.com/passcod/cargo-watch)
|
- [cargo-watch](https://github.com/passcod/cargo-watch)
|
||||||
|
|
||||||
#### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
- I can't install `cargo-watch` on OSX.
|
- I can't install `cargo-watch` on OSX.
|
||||||
|
|
||||||
|
@ -33,13 +39,7 @@ the source of `yewprint`.
|
||||||
[pre-compiled binary](https://github.com/passcod/cargo-watch/releases)
|
[pre-compiled binary](https://github.com/passcod/cargo-watch/releases)
|
||||||
instead.
|
instead.
|
||||||
|
|
||||||
### Use as a library
|
### Run the development server
|
||||||
|
|
||||||
```toml
|
|
||||||
yewprint = { git = "https://github.com/cecton/yewprint.git", branch = "main" }
|
|
||||||
```
|
|
||||||
|
|
||||||
### Development server
|
|
||||||
|
|
||||||
```
|
```
|
||||||
./dev.sh
|
./dev.sh
|
||||||
|
|
Loading…
Reference in a new issue