Welcome to the Flask Time-Series Analyser, a project created with the aim of learning HTML, CSS, Flask, and data analysis techniques. This web application is designed to assist with the analysis of time-series data, providing users with the ability to upload CSV files in specific formats and utilize various functions to analyze the data. As this project is a learning endeavor, it will continue to evolve and become more robust over time, offering increasingly useful features. Your feedback is greatly appreciated; feel free to report any bugs or issues you encounter, as they will contribute to my learning process.
To execute this program you have to do the following steps.
Download the Docker Compose file from link
Save the downloaded compose file into a new directory. Then, create a .env file within the same directory and define the following parameters:
- SECRET_KEY
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_PORT
Execute the following command in the created directory to start the Docker containers:
docker compose -f docker-compose.yml up --detach
Once the Docker containers are up and running, run the following commands in your Flask container to initialize the database:
- flask db init
- flask db migrate
- flask db upgrade