diff options
| author | Fuwn <[email protected]> | 2021-03-22 17:51:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-03-22 17:51:46 -0700 |
| commit | 2dec288aa2bfefd83e5a2d3397913df414dec09b (patch) | |
| tree | 03472b43dd8ef09978ab5a7858d68fefd69ec51c /src/introduction/development.md | |
| parent | etc: gammadocs information (diff) | |
| download | book-2dec288aa2bfefd83e5a2d3397913df414dec09b.tar.xz book-2dec288aa2bfefd83e5a2d3397913df414dec09b.zip | |
page: Brief development instructions
Diffstat (limited to 'src/introduction/development.md')
| -rw-r--r-- | src/introduction/development.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/introduction/development.md b/src/introduction/development.md new file mode 100644 index 0000000..720b99c --- /dev/null +++ b/src/introduction/development.md @@ -0,0 +1,14 @@ +# Development + +## Prerequisites +- [Rust](https://www.rust-lang.org/) +- [Worlds](http://archive.worlds.com/download.html) +- sqlx-cli + +## Installing sqlx-cli +Once Rust is installed, run `cargo install sqlx-cli`. + +## Setting up database +1. Navigate to the cloned instance of Whirl. +2. Create database file; `sqlx database create`. +3. Migrate database; `sqlx migrate run`. |