The name is open for discussion.
We currently use a MySQL server for persistent storage (also in development mode). So you'll have to install and run your own mysql (or mariadb) server.
Next, you'll have to create a user:
CREATE USER 'zauth'@'localhost' IDENTIFIED BY 'zauth'; CREATE DATABASE 'zauth'; CREATE DATABASE 'zauth_test'; GRANT ALL PRIVILEGES ON zauth . * TO 'zauth'@'localhost'; GRANT ALL PRIVILEGES ON zauth_test . * TO 'zauth'@'localhost';
We use diesel to manage our database. Install the cli with
cargo install diesel_cli.
Create the development database with
diesel database reset --database-url "mysql://zauth:zauth@localhost/zauth_test". This will also run the migrations.
You can start the server with
cargo run, it should run on localhost:8000.
You can now start developing! A good way to start is too look at the routes defined in the controllers.