This project is a web application developed with Django. It allows a community of users to share their opinions on books.
Users can:
- Ask for a review by creating a Ticket.
- Post a Review in response to a ticket.
- Follow other users to see their activity in the Feed.
- Block users to stop seeing their content.
This project was developed as part of the OpenClassrooms Python Developer path (Project 9).
- Language: Python 3
- Framework: Django
- Database: SQLite
- Frontend: HTML5, CSS3
Follow these steps to run the project locally on your machine.
Make sure you have Python installed on your computer.
Download the code or clone the repository using Git:
git clone https://github.com/Mnr04/OCLITReview.git
cd oclitreviewpython3 -m venv envOn windows
env\Scripts\activateOn Mac
source env/bin/activatepip install -r requirements.txtpython manage.py makemigrations
python manage.py migrateThis project uses local configuration variables for security purposes (SECRET_KEY). Since this file is ignored by Git, you must create it manually for the project to run.
- In the
litrevu/folder (at the same level assettings.py), create a file namedlocal_settings.py. - Add the following content:
# litrevu/local_settings.py
SECRET_KEY = 'enter-your-random-secret-key-here'
DEBUG = Truepython manage.py runserverTo generate the code quality report:
flake8 --format=html --htmldir=flake8_rapport