chrishna1 / aawaz-core

A lightweight, fast, easy to setup, privacy friendly, highly configurable commenting system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aawaz-core

A blazing fast, easy to setup, privacy friendly, highly configurable commenting system.

Development.

  • 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.

About

A lightweight, fast, easy to setup, privacy friendly, highly configurable commenting system


Languages

Language:Rust 78.2%Language:Svelte 10.6%Language:TypeScript 4.1%Language:Makefile 2.2%Language:HCL 1.7%Language:JavaScript 1.5%Language:PLpgSQL 1.4%Language:Jinja 0.2%Language:CSS 0.1%