This is the 9th project for the Python path of Openclassrooms. The goal is to Develop a Web Application Using Django. The primary use-cases for the app are two-fold:
- People asking for reviews on a particular book or article.
- People looking for interesting articles and books to read based on others reviews.
- Python version 3.9.5 or higher must be installed.
- Create the directory in which you want to keep the program.
- Open your terminal.
- Navigate to the folder that contains the
manage.py
andrequirements.txt
files - Create your Virtual Environment by running the command:
python -m venv venv
- Activate the Environment by running:
venv\Scripts\activate.bat
(Windows) orvenv\Scripts\activate.ps1
(Powershell) orsource venv/bin/activate
(OS) - Install the Requirements by running the command:
pip install -r requirements.txt
- Open your terminal
- Navigate to the directory that contains the
manage.py
file - Activate the environment by running:
venv\Scripts\activate.bat
(Windows) orvenv\Scripts\activate.ps1
(Powershell) orsource venv/bin/activate
(OS) - Run the command:
python manage.py runserver
(Windows) orpython3 manage.py runserver
(Mac) The default port is 8000. Add the port-number as a parameter to runserver to use a different port to run the server. For Example:python manage.py runserver 9000
When the server is running after step 4 of the procedure, the LITReview-Website can be
accessed with your browser by pasting the URL: http://127.0.0.1:8000/
or copy and paste the URL that is displayed in the Terminal.
Steps 1-3 are only required for initial installation. For subsequent launches, you only have to execute step 4 from the root folder of the project.
The File Users.txt
contains a list of some users and their passwords.
- Python version 3.9.5
- Django version 4.0.1