A micro-service that acts as a frontend for functionality revolving around uploading files to Google Drive. Both this service and file-api need to be running in order to achieve this.
If you are going to make use of this project, you will need to follow the steps related to setting up a Google Drive Api project (https://developers.google.com/drive/v3/web/quickstart/python). The secret file will need to be placed in the main directory of file-api.
Refer to file-api's readme for more information about this.
python3 ./manage.py runserver
- Virtualenv venv
- source venv/Scripts/activate - for windows or source venv/bin/activate - mac
- install dependencies (can use requirements.txt for this)
- set FLASK_APP variable with "set FLASK_APP=manage.py" (for windows) or "export FLASK_APP=manage.py" (for mac)
- flask run
With purely docker (go to main directory):
- docker build -t file_frontend .
- docker run -p 8080:80 file_frontend