Instagram-like blog created by baidy.
Note: the project is both production and development ready.
- Django
- SQLite
- Celery
- Redis
- Bootstrap
- jQuery, ajax
- Flake8
- Debug toolbar (For SQL queries optimization)
- Whitenoise (For production)
- Gunicorn (For production)
- Google Cloud (For production)
- Avatars/posts aspect ratio and size limitations
- Fully working email sender (E.g. new comment notification for admin with link on the comment in admin page)
- Pop-up "Contact us" window
- Optimised both for mobile and desktop use
- Install redis on your computer
- Clone this repository
- Create and activate virtual environment
- Open terminal in project folder and run these commands:
pip install -r requirements.txt
(IN THIS STEP BELOW YOU CREATE ADMIN, ENTER EVERYTHING IS ASKED)./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
- Open second terminal window in project folder and run this command:
redis-server
- Open third terminal window in project folder and run this command:
celery -A core worker --loglevel=info
That's it! Now you run Baidygram locally! To stop running just press Control+C in each terminal and then easily close them.
Have fun ;)