LITReview is a django web application allowing users to create or asked for books reviews.
- HTML
- CSS & SASS
- Python - Django Framework
- Clone the repo
git clone https://github.com/Jliezed/oc_project_9_litreview.git
- Go to your project directory
cd oc_project_9_litreview
- Install venv library (if not yet in your computer)
pip install venv
- Create a virtual environment
python -m venv env
- Activate the virtual environment
source env/bin/activate
- Install the packages using requirements.txt
pip install -r requirements.txt
- Create a copy of the file ".env.default" and rename it ".env"
- Set value to the .env file:
-
Define a secret key
-
Debug to True for local development or False for production
-
Allowed host equal to 127.0.0.1 for local environment
SECRET_KEY='YOUR SECRET KEY' DEBUG=True ALLOWED_HOSTS=['127.0.0.1']
-
- Access to the app: http://127.0.0.1:8000/accounts/login/
python manage.py runserver
- Access to the Admin: http://127.0.0.1:8000/admin/login/?next=/admin/
User: toto
Password: secret