This is a university project inspired by Instagram built in django web framework using Python. Most of the code in this project is from Lara Code. You can check out his youtube channel here, the original github repository
-
Install the prerequisites
-
Run the server:
cd to folder of this project
python <this_project>.py runserver
e.g:
python main.py runserver:
- Create superuser(admin):
python main.py createsuperuser
You can install the Prerequisites by running the command:
pip install -r requirements.txt
django==4.1
django-celery-beat==2.2.1
django-cleanup==7.0.0
eventlet==0.33.3
celery==5.2.7
pillow==9.3.0
-
To enable story with proper function (deleted when expired), celery must be added with a broker, RabbitMQ is used for this project.
-
Watch the tutorial how to add celery task to story here
Additional note: celery doesn't work properly for windows after version 4.0. You can download a lower version or after installing eventlet, you can start a celery worker with this command:
celery -A [app_name] worker --pool=eventlet
To start a celery worker with this project:
celery -A main worker --pool=eventlet
- Bulma - Bulma is a free, open source CSS framework based on Flexbox
- Django - Web framework
- jQuery - JavaScript library
- Fontawesome - Internet's icon library and toolkit