Skip to content

cofin/litestar-pingcrm

Repository files navigation

Ping CRM

A demo application to illustrate how Inertia.js works with Litestar.

Screenshot of Ping CRM

Note: Check out the original Ping CRM project for context.

Installation

Clone the repo locally:

git clone https://github.com/cofin/litestar-pingcrm.git pingcrm
cd pingcrm

Astral's UV is used to managed the development environment. If you don't have it installed, you can install it with the following command:

make install-uv

Setup configuration:

cp .env.example .env

Next, install the Python and JavaScript dependencies:

make install
source .venv/bin/activate
pingcrm assets install

Run database migrations:

pingcrm database upgrade

Run database seeder:

pingcrm database load-fixtures

Run the Vite & Litestar server for development:

pingcrm run --debug

You're ready to go! Visit Ping CRM in your browser, and login with:

Running tests

To run the Ping CRM tests, run:

make test