This project is a Python application that includes various modules and utility functions. It serves as a template for building Python applications.
my-python-project
├── src
│ ├── main.py
│ └── utils
│ └── helper.py
├── requirements.txt
├── .vscode
│ ├── launch.json
│ └── settings.json
└── README.md
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd my-python-project
- Install the required dependencies:
pip install -r requirements.txt
To run the application, execute the following command:
python src/main.py
No additional setup required. Default environment variables are included.
- Create a .env file in your deployment directory:
FLASK_ENV=production
FLASK_DEBUG=0
SECRET_KEY=your_secret_key_here
MOVIES_FILE=/app/src/movies.json
- Update the docker-compose.yml to use your .env file:
services:
web:
image: matiasmtl/movie-picker:latest
env_file:
- .env
# ... rest of configuration
Feel free to submit issues or pull requests for improvements and bug fixes.