Make the instructions less location-dependent

This commit is contained in:
Aaron Fenyes 2025-08-07 20:43:15 -07:00
parent 707b5bf52f
commit d14c303161

View file

@ -47,8 +47,7 @@ The latest prototype is in the folder `app-proto`. It includes both a user inter
### Run the engine on some example problems
1. Go into the `app-proto` folder
2. Use `sh` to run the script `tools/run-examples.sh`
1. Use `sh` to run the script `tools/run-examples.sh`
* *The script is location-independent, so you can do this from anywhere in the dyna3 repository*
* *The call from the top level of the repository is:*
@ -76,6 +75,7 @@ The latest prototype is in the folder `app-proto`. It includes both a user inter
1. From the `app-proto` folder, call `trunk build --release`.
- Building in [release mode](https://doc.rust-lang.org/cargo/reference/profiles.html#release) produces an executable which is smaller and often much faster, but harder to debug and more time-consuming to build.
- If you want to stay in the top-level folder, you can call `trunk serve --config app-proto --release` from there instead.
2. Use `sh` to run the packaging script `tools/package-for-deployment.sh`.
- The script is location-independent, so you can do this from anywhere in the dyna3 repository.
- The call from the top level of the repository is: