Make deployment script more like examples script
All checks were successful
/ test (pull_request) Successful in 3m33s
All checks were successful
/ test (pull_request) Successful in 3m33s
This commit is contained in:
parent
203e47397d
commit
b1d5db2dc2
3 changed files with 18 additions and 18 deletions
|
@ -70,11 +70,11 @@ 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.
|
||||
2. Use `bash` to run the packaging script `tools/package-for-deployment.bash`.
|
||||
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:
|
||||
```bash
|
||||
bash tools/package-for-deployment.bash
|
||||
sh tools/package-for-deployment.sh
|
||||
```
|
||||
- This will overwrite or replace the files in `deploy/dyna3`.
|
||||
3. Put the contents of `deploy/dyna3` in the folder on your server that the prototype will be served from.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue