Skip to content

abdoohossamm/ChatYou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatYou

ChatYou is an open source chat application.

Prerequisites:

  • GIT (latest)
  • Python ≥ 3.8
  • Docker Desktop or (Docker Engine and Docker Compose) if run using docker
  • Any code editor or IDE (PyCharm recommended for Python and Django)
  • Any database client (optional)
  • Redis (if run locally)

Installation

Clone the project

git clone https://github.com/abdoohossamm/ChatYou.git

Change directory to the cloned project

cd ChatYou

Make a copy of the example environment variables file and call it .env

cp .env.example .env

Run the project

There are two ways to use docker compose depends on the docker version:

  • Docker:
docker compose up
  • Locally:

create a virtual environment

cd backend
python -m venv venv
activating the virtual environment depends on the OS please serach for it

Install requirements packages after activating the virtual environment

pip install -r requirements.txt

migrate the model

python manage.py migrate

create a user to test with

python manage.py createsuperuser

run django server

python manage.py runserver

Add new chat room: