Skip to content

hieupt810/tw-server

Repository files navigation

TripWise - Flask

Pre-requisites

  • Python 3.12+

Installation

Create and activate a virtual environment

  • On Windows:
python -m venv venv
venv\Scripts\activate
  • On macOS/Linux:
python -m venv venv
source venv/bin/activate

Install the required packages

pip install -r requirements.txt

Set up the database

export FLASK_APP='wsgi.py'
flask db upgrade

Run the application

python wsgi.py

Make new migrations

export FLASK_APP='wsgi.py'
flask db migrate -m "<MIGRATION_MESSAGE>"
flask db upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages