->This appliction aims at predicting whether customer of a particula airline company is satisfied after a journey with the plane.
- Python 3.x
- Pip (Python package installer)
- AWS CLI
- AWS Elastic Beanstalk CLI
-
Clone the repository:
git clone https://github.com/steve601/airline.git cd airline
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Run the application locally:
python satisfaction.py
Access the app at http://127.0.0.1:5000
.
-
Initialize Elastic Beanstalk:
eb init
Follow the prompts to configure your application. Choose the appropriate region and platform (Python).
-
Create an Elastic Beanstalk environment:
eb create flask-env
-
Deploy the application:
eb deploy
-
Access the application: After deployment, access your application using the URL provided by Elastic Beanstalk.
Ensure your configuration file is set up correctly:
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: satisfaction:app