/RIBA

A simple django chat application

Primary LanguageHTML

Getting the files

Download zip file or
Clone with git + remove git folder




Setup

- Create Virtual Environment

# Mac
python3 -m venv venv
source venv/bin/activate
# Windows
pip install virtualenv 
virtualenv venv 
venv\Scripts\activate.bat 

- Install dependencies

pip install --upgrade pip
pip install -r requirements.txt

- Migrate to database

python manage.py migrate
python manage.py createsuperuser

- Run application

python manage.py runserver

- Generate Secret Key ( ! Important for deployment ! )

python manage.py shell
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
exit()