Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.65 KB

File metadata and controls

34 lines (22 loc) · 2.65 KB

How to run the app on local:

  1. Download XAMPP, make sure the mySQL setting is on the way. (Turn on mysql and apache)

image

  1. import database on mySQL. Its name is "essks" (it is in this folder, in unzip first). The quickest way to open a database is to click "Admin" on the mysql section of XAMPP.

image

image

  1. open Visual Studio Code, then import this folder by "open folder" (not open file).

image

  1. Then later appears the entire file in the left side corner (all assets will appear).

image

  1. In VSC, shift + ctrl + p, then type "Powershell Integrated Console". Make sure the Integrated Console, if not yet can be downloaded in the extension Visual Studio Code.

image

  1. Download virtual environment on terminal

image

  1. Enter "python -m virtualenv venv" to create a virtual environment named venv

image

  1. Go to its virtual environment by typing "venv\Scripts\activate"

image

  1. After entering venv, install all requirements by typing "pip install -r requirements.txt"

image

  1. then click "python web.py" on the terminal to run its server.
  2. If you are connected, open it in the web browser (Chrome) and click localhost or its IP name.