DigiRamp is a web application written in flask micro-framework. It is a solution for airline companies that offers leaner communication across multiple departments while preparing the aircraft for the next flight.
To use a demo of the app click here
do not use any real information(emails-password on the demo)!! the app is still in development and lacks security testing.
Ahlem kaabi linked-in
This project is interpreted/tested on Ubuntu 20.04 LTS using python3 (version 3.8.10) and MySql ( Ver 8.0.26-0ubuntu0.20.04.2 )
This guide will help you to start using the web application in your local environment
- Python >= 3.8.10
- pip
- MySql ( Ver 8.0.26-0ubuntu0.20.04.2 )
-
create a database
Your_db_Name
.CREATE DATABASE Your_db_Name;
-
create a user
User_Name
with passwordYour_password
.CREATE USER 'User_Name'@'localhost' IDENTIFIED BY 'Your_password';
-
for
User_Name
grant all privileges on theYour_db_Name
database.GRANT ALL PRIVILEGES ON Your_db_Name . * TO 'User_Name'@'localhost';
- clone the repository on your computer
- pip install -r requirements.txt
- inside the project directory create instance/config.py file
We will put configuration variables here that will not be pushed to version control due to their sensitive nature. In this case, we put the secret key as well as the database URI which contains the database.
# instance/config.py
SECRET_KEY = '<^>YOUR_SECRET_KEY^>'
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://User_Name:Your_password@localhost/Your_db_Name'
- run these commands:
$ flask db init
$ flask db migrate
$ flask db upgrade
- final step
$ export FLASK_CONFIG=development
$ export FLASK_APP=run.py
$ flask run
This project is licensed under the MIT License see MIT LICENSE file for more details
This project was written as part of the curriculum for Holberton School. Holberton School's methodology uses project-based learning and peer-learning to teach students the theory and tools needed to adapt to the future and ever-changing technologies. For more information, visit this link.