Description: Our final project in IT 403 Web Systems & Technologies 3 is e-learning website about Python programming language course using Python and Django web framework.
1. Clone this repo
https://github.com/jeaysdigo/PythonFinalProject.git
2. Go to project directory using CMD or vscode terminal
cd PythonFinalProject
3. Create Virtual Environment. Open CMD and type below:
py -m venv env
4. Activate your environment using this:
env\Scripts\activate
5. Install dependencies
pip install django
py -m pip install Pillow
pip install django-ckeditor
6. Make a migrations to automatically create local database
py manage.py makemigrations
py manage.py migrate
7. Create admin account
py manage.py createsuperuser
8. Please input the following:
Email: admin@pal.com
Password: admin
Password (again) admin
Bypass password validation and create user anyway? y
9. Run the server:
py manage.py runserver
Note: Your database and your virtual environment will not commit and push in the repository because db.sqlite3 and env are both included in the gitignore