From 812f7c8a07eca4b183513d30c37b73c1fb90a6c3 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 6 Oct 2023 19:27:46 +0100 Subject: [PATCH] Add README.md and LICENSE --- LICENSE | 21 +++++++++++++++++++++ README.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..379270c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Edward Betts + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ad44fea --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# Brittany Ferries price and availability checker + +This tool allows you to check the prices and availability of Brittany Ferries for various routes. You can specify the departure and arrival ports, travel dates, and other options to get accurate pricing information. + +## Usage + +### Prerequisites + +Before using this tool, make sure you have the following Python modules installed: + +- flask +- sqlalchemy +- lxml +- jinja2 + +You can install these modules using pip: + +```bash +pip install flask sqlalchemy lxml jinja2 +``` + +### Running the Tool + +1. Clone this repository or download the files to your local machine. + +2. Make sure you have Python 3 installed. + +3. Open a terminal and navigate to the directory where you saved the files. + +4. Run the `main.py` script: + +```bash +python main.py +``` + +5. Open your web browser and visit `http://localhost:5000` to access the tool. + +## Features + +- Check prices and availability for various ferry routes to France. +- Specify the number of adults, small dogs, and other options for accurate pricing. +- View cabin accommodations and details. +- See the duration of each crossing. + +## Configuration + +You can configure the tool by editing the `config.ini` file in the `~edward/config/brittany-ferries/` directory. Make sure to provide accurate details for your vehicle and travel preferences. + +## License + +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. + +## Contact + +If you encounter any issues or have questions about this tool, you can contact the developer, Edward Betts, at `edward@4angle.com`.