Skip to content

brandonscholten/HIC-DB-2024

Repository files navigation

KGO

This template should help get you started developing with Vue 3 in Vite.

Requirements

  • install the latest version of NodeJS and npm
  • install the latest version of Python
  • install and host MariaDB in order for data to be displayed correctly
    • create a database with the schema found in this document

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Running the front-end

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

Running the backend

Project Setup

cd server
pip install -r requirements.txt

Run code for backend server

cd server
export K_GO_HOST = [IP ADDRESS OF SQL SERVER]
export K_GO_USER = [SQL USERNAME]
export K_GO_PASS = [SQL PASSWORD]
export K_GO_DATA = [NAME OF SQL DATABASE]
export FLASK_APP = index.py
flask run -p 5941