Management fire station webapp and Telegram Bot to be notified of firefighter's activities such as shifts, courses, etc.
- Manage firefighters
- Certifications
- Fire vehicle
- Configure squads and shifts
- Communications
- Fire tools
- Using Telegram mobile number auth (if fireman mobile number has been setup in firestation configuration)
- Setting your availability state
- View your and the next weekend squad components and shifts
- Notification shifts
- Show and download your courses
- View your personal data
- Webcams and weather in Trentino
These instructions will get you a copy of the project to running on your local machine for development and testing.
* xampp
- Copy this repo into your xampp htdocs folder
- Start the XAMPP control panel (xampp-control.exe)
- From the control panel, start Apache and MySQL
- Click "Admin" for MySQL or navigate to localhost/phpmyadmin in your browser
- Copy "db.sql" file into SQL tab and run
- Navigate to "Configura"
- Set firestation name, email, phone number and password
- Through side menu, all firestation resources could be configured
If you use myCasermaVVF_bot, you don't need setting up anything else (only mobile number in the webapp configuration) Otherwise if you want to create your own test bot
- Create a bot using telegram bot father
- Host your myCasermaVVF web server online
- Set telegram api webhook
- https://api.telegram.org/your-bot-token/setWebhook?url=yourWebServerUrl/myCasermaVVF/server.php
Due to Altervista problems with the telegram bot, in order to publish the project, it is necessary to use the 'ALTERVISTA' branch which solves all the problems.
- XAMPP - Web server
- PHP - Scripting language
- MDL - Material Design Lite
- Visual Studio Code - Visual Studio Code text editor
- Anas Araid - asdf1899