This is a simple but fully functional Twitter clone built in Django framework using Docker and kubernetes and deployed in EKS with persistent volume. The project aims to show a simple yet standard way of developing and deploying django applications on docker and kubernetes.
- Nathan Bell
- Chandradeo Arya
- Python3 installed
- Pip3 installed
#Create virtual env
python3 -m venv venv
#Activate venv
source venv/bin/activate
#Install libraries
pip3 install -r requirements.txt
#Run code
python3 manage.py runserver
# install virtual env:
pip install virtualenv
#Create virtual env:
virtualenv env
#Activate your virtual env:
cd env/Scripts
.\activate
#Install libraries
# go back to the project folder
cd ..
cd ..
pip3 install -r requirements.txt
#Run code
python manage.py runserver
- For easiness database is committed but use postgres in production with migrations.