https://deptracker.pythonanywhere.com/
Barangay DEP Tanod Tracker Codebase
To join, you just need the enough basic knowledge of Python, Flask and GitHub PR Merge process.
###How to copy and deploy the app to your Barangay
- Clone https://github.com/dataengineeringpilipinas/dep-tracker.git
- Install dependencies.
- Run the app locally and adjust the code to your liking including the look-and-feel of your Barangay.
- Deploy the app in PythonAnywhere. It has a free tier. Please see some steps below on how to deploy a Flask app in PythonAnywhere.
###How to deploy your Flask app in PythonAnywhere.
- Add a new app and choose deploy app manually.
- Enter bash and clone your Github repo.
- Go to Files and correct the location of your appointments.db.
- Edit your WSGI similar to the below:
import sys
#
path = '/home/deptracker/dep-tracker'
if path not in sys.path:
sys.path.append(path)
#
from app import app as application # noqa- Reload app.
- If no errors, you should have the app running in production.
.
If you choose to use or reuse this app, you are solely responsible for ensuring that your implementation complies with applicable privacy laws and data protection regulations.
The original developers are not liable for any privacy-related issues, data breaches, or misuse resulting from your use of this app.