|
@ -1,12 +1,12 @@ |
|
|
# setup |
|
|
# setup |
|
|
* get http://rustup.rs |
|
|
* get http://rustup.rs |
|
|
* get the latest nightly `rustup install nightly` |
|
|
|
|
|
* grab elseware and [libpso](https://github.com/jakeprobst/libpso) |
|
|
|
|
|
* have elseware and libpso in the same directory |
|
|
|
|
|
|
|
|
* get the latest nightly `rustup default nightly` |
|
|
|
|
|
* grab elseware |
|
|
* `cargo test` to run tests |
|
|
* `cargo test` to run tests |
|
|
|
|
|
|
|
|
|
|
|
# development setup |
|
|
|
|
|
* grab [libpso](https://github.com/jakeprobst/libpso) |
|
|
|
|
|
* put `paths = ["/path/to/libpso"]` in the `.cargo/config` file in the elseware directory (you may need to make it) |
|
|
|
|
|
|
|
|
# to actually run it |
|
|
# to actually run it |
|
|
* `cargo install diesel_cli` |
|
|
|
|
|
* `diesel database setup` |
|
|
|
|
|
* [some sort of step that seeds the db with fake data to be useful] |
|
|
|
|
|
* `cargo run --bin patch` and `cargo run --bin login` |
|
|
* `cargo run --bin patch` and `cargo run --bin login` |