This is a webapp to generate a boarding pass for Ligersat nanosatellite project. The application uses Flask to run the app, and Pillow to generate/edit the boarding pass template image.
This README provides instructions on how to set up and run a Flask application to generate LigerSat Boarding Pass.
- Python 3.x
- pip
- Docker (optional, if you choose to run via Docker)
First, clone the repository to your local machine:
git clone [email protected]:vvvey/ligersat-boardingpass.git
cd ligersat-boardingpass
To install the required Python packages, run:
pip install -r requirements.txt
You can run the Flask application in one of two ways:
Start the Flask application using the following command:
python app.py
The application should be running on http://localhost:5000
If you prefer to run the application using Docker, you can build and run it with the following commands:
- Build the Docker image
docker build -t ligersat:latest .
- Run the Docker container:
docker run -d -p 5000:80 --name ligersat-app ligersat:latest
In this case, the application will also be available at http://localhost:5000
Check out Live Demo at http://ligersat.vvvey.me/
This project is licensed under the MIT License - see the LICENSE file for details. Application Link: http://ligersat.vvvey.me