Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 555 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 555 Bytes

flask-vue-spa-image-upload

Instructions

  • Clone repository using git clone https://github.com/TangiblePS/flask-vue-spa-image-upload.git
  • Go to project directory cd flask-vue-spa-image-upload
  • Go to frontend directory cd frontend
  • Run npm install
  • Run npm build
  • Run pip install -r requirements.txt to install python dependencies
  • Run FLASK_APP=run.py FLASK_DEBUG=1 flask run to start the web server
  • Access 127.0.0.1:5000/upload to upload an image and 127.0.0.1:5000/api/upload to view the uploaded image