- Fork this project first:
- Please see this Image.
- Open Github Desktop and Clone the Repository that you cloned:
File -> Clone Repository -> URL
-
Create a new database in phpMyAdmin
- Database Name: metro_events (or kung unsa inyo ganahan)
-
Open the project in VS Code(metroevents1)
- Right Click metroevents1 and click Open with Code
- After opening in VS Code, your file tree will look like this:
|-- metroevents1
|-- metroevents1
|-- static
|-- user
|-- db.sqlite3
|-- manage.py
|-- README.md
-
Open VS Code Terminal
Ctrl + `
pip install django
pip install mysqlclient
python manage.py migrate
-
Create SuperUser(using the terminal):
python manage.py createsuperuser
username: admin password: adminMetroEvents
-
Open XAMPP Control Panel
Apache -> Start MySQl -> Start
-
Run the project in the VS Code terminal:
python manage.py runserver
-
Open the project in your web browser:
127.0.0.1:8000/user/login
127.0.0.1:8000/user/register
127.0.0.1:8000/admin