chore: add licence and fix doc
This commit is contained in:
20
README.md
20
README.md
@@ -30,20 +30,6 @@ docker-compose up --build
|
||||
|
||||
The application will automatically check for available sessions and book them based on your preferences. It will send notifications via email and Telegram when a booking is successful.
|
||||
|
||||
### Configuring Preferred Sessions
|
||||
|
||||
You can configure your preferred sessions using the `preferred_sessions.json` file. This file should contain a JSON array of session names, for example:
|
||||
|
||||
```json
|
||||
[
|
||||
"Morning Class",
|
||||
"Evening Class",
|
||||
"Saturday Open Gym"
|
||||
]
|
||||
```
|
||||
|
||||
If the file is not found or contains invalid data, the application will use default hardcoded sessions.
|
||||
|
||||
### Environment Variables
|
||||
|
||||
The following environment variables are required:
|
||||
@@ -82,7 +68,7 @@ You can configure your preferred sessions in the `preferred_sessions.json` file.
|
||||
|
||||
The application will automatically load the preferred sessions from this file. If the file is not found or contains invalid data, it will fall back to the default hardcoded sessions.
|
||||
|
||||
#### Fields
|
||||
### Fields
|
||||
|
||||
- `day_of_week`: Integer representing the day of the week (0=Monday, 6=Sunday)
|
||||
- `start_time`: String representing the start time in HH:MM format
|
||||
@@ -119,10 +105,6 @@ The application will automatically load the preferred sessions from this file. I
|
||||
└── crossfit_booking.log
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome! Please open an issue or submit a pull request.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
||||
Reference in New Issue
Block a user