A blazing fast, easy to setup, privacy friendly, highly configurable commenting system.
-
Install rust 1.57+ and postgres 13+ if you don't have it already installed.
-
Fork and clone this repository.
-
Run the following commands.
- Install the dependencies.
cargo install
- Create a database with a user on
postgres
.
psql -U postgres -p myPassword -f""" CREATE DATABASE aawaz-core """
- Create .env from the given template
cp .env.sample .env
-
Fill the
.env
file appropriately. -
Install diesel-cli(to generate/apply migration)
cargo install diesel_cli
- Run the migrations.
diesel migrations run
- Run the development server.
cargo run
To run the development server in the watch mode.
cargo install cargo-watch cargo watch -x run
-
Set up
pre-commit
by following the instructions on the website.