Skip to content

whitespy/simple_chat

Repository files navigation

Simple chat

Imports: isort Code style: black

How to run project locally

1 Install Python 3.12 and setup virtual environment

2 Install project requirements

python -m pip install -r requirements/base.txt

3 Create .env file and add SECRET_KEY

echo "SECRET_KEY=$(openssl rand -hex 40)" > .env

4 Apply database migrations

python manage.py migrate

5 Load test users from fixture

python manage.py loaddata fixtures/users/initial_data.json

6 Run local server

python manage.py runserver

7 Open Swagger to check out API endpoints

sensible-browser http://127.0.0.1:8000/api/docs/

Test user credentials

username password
admin xhSvIBITTYmIBww
user1 xhSvIBITTYmIBww
user2 xhSvIBITTYmIBww

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages