jon77p / jonprentice.me

Personal Website
https://jonprentice.me
1 stars 0 forks source link
flask python3 vuejs website

https://jonprentice.me Build Status

The source code for Jon Prentice's personal website

Powered by Python Flask and VueJS

Author: Jon Prentice


Local Development Setup

Prerequisites


Backend Setup

  1. Create and activate a virtual environment for the application (recommended).

    • virtualenv venv --python=python3
    • source venv/bin/activate
  2. Install the pip packages located in backend/requirements.txt.

    • pip3 install -r backend/requirements.txt
  3. Copy the backend/defaults.conf file to backend/server.conf and fill in with the necessary information (replacing --INVALD-- where present).

  4. Start the backend API server: python3 backend/app.py

Frontend Setup

  1. Navigate to the frontend directory: cd frontend
  2. Install the necessary npm packages: npm install
  3. Start the local development server: npm run serve

    a. To lint/test code changes during development, run npm run lint or npm run test, respectively.