Game of fill in the blank stories. Choose a story and fill in the blanks when prompted.
- Build docker image
- Navigate to
./client/storiesclientand 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/storiesclientand rundocker build -t rust-example . - Run
docker run -i rust-exampleto build a container using the newly created image. - Within the container, navigate to the
storiesclientdirectory. - Run
cargo build - You will likely need to copy the
datadirectory from the root directory to thetarget/debugdirectory. - Navigate to the
target/debugdirectory 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.mdfile in the./presentation/rustdirectory to see more information and how to run.