Please note that this is currently in developement and some features don't work currently. However for simple map management it will work. this was designed to be used as a backup in case the current software used fails and for doing territory work when away from a computer.
The way I access this outside the home is not exposing the page to the web, instead I currently run this on my developement raspberry pi and use my other raspberry pi for the VPN to access the LAN. Using PiVPN Wireguard.
You can host both on the same raspberry pi, however I currently have them seperate for developement purposes.
This could run off of a raspberry pi zero with a wifi hotspot, however that has not been tested.
- There is functionality for PDF uploads and downloads, just need to add the buttons, however would like to amend the way it works
- Some of the buttons have broken, so need to fix
- Need to change the edit functions for history and current
- Need to add a backup and restore function for the database
- Potentially a user login page
Make sure that you have the latest version of Python3 and Python3-pip installed.
git clone https://github.com/OishiiCha/TerritoryManagement.git
cd TerritoryManagement
pip3 install -r requirements.txt
Initialise the database
export Flask=app.py
flask db init
flask db migrate
flask db upgrade
To run the program for testing
python3 app.py
Then you can visit the webpage with serverip:5511