diff --git a/docs/book/src/first_model/setup.md b/docs/book/src/first_model/setup.md index d6ef88f5..47b99424 100644 --- a/docs/book/src/first_model/setup.md +++ b/docs/book/src/first_model/setup.md @@ -64,7 +64,7 @@ Ixa comes with a convenience script for setting up new Ixa projects. Change directory to `disease_model/`, the project root, and run this command. ```bash -curl -s https://raw.githubusercontent.com/CDCgov/ixa/release/scripts/setup_new_ixa_project.sh | sh -s +curl -s https://raw.githubusercontent.com/CDCgov/ixa/main/scripts/setup_new_ixa_project.sh | sh -s ``` The script adds the Ixa library as a project dependency and provides you with a @@ -76,15 +76,9 @@ We will depend on a few external libraries in addition to Ixa. The `cargo add` command makes this easy. ```bash -cargo add rand_distr@0.4.3 -cargo add csv +cargo add csv rand_distr serde ``` -Notice that: - -- a particular version can be specified with the `packagename@1.2.3` syntax; -- we can compile a library with specific features turn on or off. - ### `Cargo.toml` Cargo stores information about these dependencies in the `Cargo.toml` file. This diff --git a/docs/book/src/get-started.md b/docs/book/src/get-started.md index c207ac5b..c475d0dd 100644 --- a/docs/book/src/get-started.md +++ b/docs/book/src/get-started.md @@ -10,13 +10,11 @@ Execute the following commands to create a new Rust project called `ixa_model`. cargo new --bin ixa_model cd ixa_model - ``` Use Ixa's new project setup script to setup the project for Ixa. ```bash - curl -s https://raw.githubusercontent.com/CDCgov/ixa/main/scripts/setup_new_ixa_project.sh | sh -s ``` @@ -43,5 +41,5 @@ cargo run -- --log-level=trace To run with logging enabled for just `ixa_model`: ```bash -cargo run -- --log-level=ixa_model:trace +cargo run -- --log-level ixa_model=trace ```