/ChooseYourPet

Primary LanguageTypeScript

Choose your pet

Tool for choosing the right pet for you using analytical hierarchy process

How to setup for development

  • Make sure you have python, pip and npm installed

  • Run in the project directory (requires sh), this script will install dependencies, build the project and run the developement server

sh project.sh setup && sh project.sh run

or, if you want to do it manually:

  • Create and activate virtual environment with venv (and do everything else inside created environment)
  • Install dependencies
pip install -r requirements.txt
  • Change directory to assets, install npm packages and build the React app
cd assets
npm install
npm run build
  • Run Flask server from the root project directory
flask run