An open API service indexing awesome lists of open source software.

https://github.com/anas-araid/mycasermavvf

management fire station webapp and Telegram Bot to be notified of firefighter's activities such as shifts, courses, etc.
https://github.com/anas-araid/mycasermavvf

bot emergency firefighter firefighting php rescue telegram telegram-api telegram-bot telegram-bot-api

Last synced: 4 months ago
JSON representation

management fire station webapp and Telegram Bot to be notified of firefighter's activities such as shifts, courses, etc.

Awesome Lists containing this project

README

          

# myCasermaVVF

Management fire station webapp and Telegram Bot to be notified of firefighter's activities such as shifts, courses, etc.

### WebApp
* Manage firefighters
* Certifications
* Fire vehicle
* Configure squads and shifts
* Communications
* Fire tools

### Telegram Bot
* 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

## Getting Started

These instructions will get you a copy of the project to running on your local machine for development and testing.

### Prerequisites
```
* xampp
```

### Installing

#### Set up your server

* Copy this repo into your xampp htdocs folder

#### Set up the database
* 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

#### Configuring
* Navigate to "Configura"
* Set firestation name, email, phone number and password
* Through side menu, all firestation resources could be configured

#### Set up the telegram bot
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

### Deploying

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.

## Built With

* [XAMPP](https://www.apachefriends.org/it/index.html) - Web server
* [PHP](http://php.net/manual/it/intro-whatis.php) - Scripting language
* [MDL](https://getmdl.io/) - Material Design Lite
* [Visual Studio Code](https://code.visualstudio.com/) - Visual Studio Code text editor

## Authors

* **Anas Araid** - [asdf1899](https://github.com/asdf1899)