This project is a web application built with Django that allows users to create tickets and reviews. Users can also follow other users and see their activities on their feed.
- Clone this repository to your local machine using the following command:
git clone https://github.com/samichelly/P9__Django_web_app.git
- Navigate to the project directory:
cd P9__Django_web_app\LITReview
- Create a virtual environment to isolate dependencies:
python -m venv venv
- Activate the virtual environment (depending on your operating system):
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
- Install the dependencies from the
requirements.txt
file:pip install -r requirements.txt
- Start the Django development server:
python manage.py runserver
- Access the application from your preferred browser at:
http://127.0.0.1:8000/
- You can now sign up, log in, create tickets, write reviews, follow other users, and interact with each other.
To create a new user, follow these steps:
- Go to the application's sign-up page at:
http://127.0.0.1:8000/signup
- Fill out the registration form with your information, such as username, email address, and password.
- Click the "Submit" button to submit the form.
- Once the form is successfully submitted, you will be redirected to the login page.
- Use your credentials to log in to the application.
-
User 1:
- Username: lecteur1
- Password: litreview
-
User 2:
- Username: lecteur2
- Password: litreview
- Admin Account:
- Username: Admin
- Password: litreview
Access the admin panel at:
http://127.0.0.1:8000/admin/