Online learning platform written in Python using Django.
- Python 3.10
-
Clone the project
using SSH:git clone git@github.com:FerdiantJoshua/belajar_online.git
or using HTTPS:
git clone https://github.com/FerdiantJoshua/belajar_online.git
-
Change to the directory
cd belajar_online
-
Create project environtment using
virtualenv
python -m virtualenv venv
-
Activate the virtual environment
Windowsvenv/Scripts/activate.bat
Linux or Mac
source venv/bin/activate
-
Install dependency
pip install -r requirements.txt
-
Create your .env file (check for .env.example)
for example:
ALLOWED_HOSTS = localhost,127.0.0.1,192.168.0.1 DEBUG = False DB_NAME = belajar_online DB_USER = root DB_PASSWORD = password DB_HOST = 127.0.0.1 DB_PORT = 3306 DEV_MODE = False
-
Migrate the database
python manage.py migrate
-
Run the server
python manage.py runserver 0.0.0.0:8000
- All dependencies and requirements are mentioned in requirements.txt
- Author: @FerdiantJoshua
- Contributor: