Compare commits

...

1 Commits
main ... main

Author SHA1 Message Date
alban
a30ef2555f fix: better README 2024-01-27 15:57:50 +01:00

View File

@ -4,20 +4,29 @@
Use this code as a basis and let the laser points be with you. Use this code as a basis and let the laser points be with you.
**Crash course** ## **Crash course**
#### 1. Clone the project
```rust
git clone https://git.interhacker.space/protonphoton/lj_templates_rust && cd lj_templates_rust
``` ```
$ git clone https://git.interhacker.space/protonphoton/lj_templates_rust && cd lj_templates_rust ##### 2. Create a settings file, see the content for more details including redis server url
```rust
# Create a settings file, see the content for more details including redis server url cp copyme.settings.toml settings.toml && $EDITOR settings.toml
$ cp copyme.settings.toml settings.toml && $EDITOR settings.toml
# Run the projet
$ cargo run
``` ```
##### 3. Edit the draw.rs to create your custom behavior
```rust
$EDITOR src/draw.rs
```
##### 4. Run the projet
```rust
cargo run
```
## Associate projects ## Associate projects
**The LJ rust tracer projet and the nannou visualiser might be of help to simulate your project.** **The LJ rust tracer projet and the nannou visualiser might be of help to simulate your project.**