Game of fill in the blank stories. Choose a story and fill in the blanks when prompted.
- Build docker image
- Navigate to
./client/storiesclient
and rundocker build -t rust-example .
- Navigate to
You will need to either have Docker or Rust installed.
-
Docker to build an image and application.
- Navigate to
./client/storiesclient
and rundocker build -t rust-example .
- Run
docker run -i rust-example
to build a container using the newly created image. - Within the container, navigate to the
storiesclient
directory. - Run
cargo build
- You will likely need to copy the
data
directory from the root directory to thetarget/debug
directory. - Navigate to the
target/debug
directory and run the application using./storiesclient
- Navigate to
-
Rust if you want to run and edit the application locally.
- Start the client cli by navigating to the
client/storiesclient/
directory and runningcargo run
.
- Start the client cli by navigating to the
- I was going to use a server and client model for this, but currently all logic just lives in the client.
- At some point it would be great to create an http server and have the client make http requests to the server. Then the server would handle all the logic, store the templates, and even log all stories that were told. Future me's problem!
- Utilizes Slidev to run a presentation from a Vue.js web app. See the
README.md
file in the./presentation/rust
directory to see more information and how to run.