Skip to content

gitgernit/chattr

Repository files navigation

CHATTR

Chattr is a service allowing you to anonymously create & join blazing-fast chatrooms in a few clicks.

A full installation instruction is provided below. Feel free to contribute to the project -

0.0. Python preparation

python -m venv venv
. venv/bin/activate
pip install -r requirements/prod.txt 

0.1 React preparation

Install Node.js, then run

cd .\chattr\chattr-react
npm install
npm run build

1. Configure environment variables

A postgres database, its owner (a user) and a Redis database are required

cp .env.template .env

configure the corresponding values in your .env file

2. Run migrations

cd chattr
python manage.py makemigrations
python manage.py migrate

3. Run the server!

python manage.py runserver