Installation Instruction - ParnThanatibordee/KUIZ GitHub Wiki
Getting Start
-
Clone the respository to your machine or PC.
git clone https://github.com/ParnThanatibordee/KUIZ.git -
Change directory to the local repository by typing this command.
cd KUIZ -
Install virtualenv to your machine or PC by this command.
py -m pip install virtualenv -
Create virtual environment for KUIZ directory.
py -m venv venv -
Activate virtual environment.
For Mac OS / Linux
source venv\Scripts\activateFor Window
venv\Scripts\activate -
Install all require packages by this command.
pip install -r requirements.txt -
Create .env file inside KUIZ (same level as settings.py) and change the debug=True.
SECRET_KEY=YOUR_SECRET_KEY DEBUG=True GOOGLE_OAUTH2_KEY=YOUR_GOOGLE_OAUTH2_KEY GOOGLE_OAUTH2_SECRET=YOUR_GOOGLE_OAUTH2_SECRET -
Type this command to migrate the KUIZ database.
py manage.py migrate -
Running the server by this command.
py manage.py runserver