2025-11-03 11:04:46 -08:00
# Mainty
2025-11-04 07:38:11 -08:00
A simple PHP web app for tracking vehicle maintenance records. Free, easy, responsive, open source, and self-hosted. Use Docker, or host it on any Apache/PHP web server. Uses SQLite for easy backup, with built-in Export via JSON or HTML so you can import that data into something else or print records for your mechanic or the next owner of your vehicle.
2025-11-03 11:04:46 -08:00
## Requirements
- Apache web server
- PHP 8 or higher
- SQLite extension
2025-11-04 07:37:33 -08:00
- If you're using Docker, these requirements should be handled automatically, and you don't need to worry about it.
2025-11-03 11:04:46 -08:00
## Installation
2025-11-04 07:35:44 -08:00
### Option 1: Docker
2025-12-27 12:07:36 -08:00
Once you have Docker working on your computer, enter the system where you have placed Mainty and run the following command to start the services:
2025-12-27 12:06:55 -08:00
2025-11-04 07:35:44 -08:00
```bash
docker-compose up -d
```
Then open http://localhost:8080
2025-12-27 12:06:55 -08:00
When you are done using Mainty, you can run the following command to stop the services:
2025-12-27 12:08:16 -08:00
```bash
docker-compose down
```
2025-11-04 07:35:44 -08:00
### Option 2: Traditional Web Server
2025-11-03 11:04:46 -08:00
1. Upload the entire folder to your web server
2. Rename `example.htaccess` to `.htaccess`
3. If the app is not in the root directory, edit `.htaccess` and set the `RewriteBase` :
```apache
RewriteBase /subfolder/
```
4. Navigate to the app URL in your browser
5. If everything is configured correctly, you'll see the setup page
6. Set your password to initialize the database
2025-11-04 07:17:18 -08:00
## Need help? Want to learn more? Go to the official GitHub!
https://github.com/michaelstaake/mainty