Skip to content

Ali-darzii/ChatCompany

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey Welcome to chatComapny project🙏🏻, I'm ali darzi!

Software Engineer

In repo all of the functions have they own comments that 
explain the functions 
The System is Designed for Companies that need exclusive communicade

instalation ...

🤝 Requirements

  1. redis

  2. Mysql

  3. install virtualenv

pip install virtualenv
  1. let's make sure you have the following installed(it's only needed in linux):
  • in Debain:
    sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config
  • in Red Hat / CentOS:
    sudo yum install python3-devel mysql-devel pkgconfig
  • in Arch:
    sudo pacman -S pkg-config
    

🚀 Installation

0.Go On Project Directory ;D

linux

1.make a virtual environment:

python -m venv vnev

2.active virtual environment:

source venv/bin/activate

3.install requirements in virtual

pip install -r requirements.txt

4.Mysql prompt:

CREATE DATABASE chatCompany CHARACTER SET utf8;

5.go on /ChatCompany/setting.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'chatCompany',
        'USER': '<enter_your_Mysql_username>',
        'PASSWORD': '<Enter_your_Mysql_password>',
        'OPTIONS': {
        }
    }
}

6.migrate to DB:

python manage.py migrate

7.run redis(port:6379) :

sudo docker run redis
Windows 1.make a virtual environment:
python -m venv vnev

2.active virtual environment:

venv/Script/activate

3.install requirements in virtual

pip install -r requirements.txt

4.Mysql prompt:

CREATE DATABASE chatCompany CHARACTER SET utf8;

5.on /ChatCompany/setting.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'chatCompany',
        'USER': '<enter_your_Mysql_username>',
        'PASSWORD': '<Enter_your_Mysql_password>',
        'OPTIONS': {
        }
    }
}

6.migrate to DB:

python manage.py migrate

7.run redis(port:6379) :

docker run --rm -p 6379:6379 redis:7

About

This is web chat app that developed for companies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors