LiebeMama is a product management platform designed for wholesalers and restaurants, built with Python and Flask.
Follow these steps to install and run the project locally:
git clone https://github.com/liebemama/liebemama.git
cd liebemamapython3 -m venv venv-
On Linux / macOS:
source venv/bin/activate -
On Windows:
venv\Scripts\activate
pip install -r requirements.txtCreate a .env file in the root directory and add your environment variables:
DATABASE_URL=postgresql://postgres:12345@localhost:5432/liebemama
Inside your Flask environment, run:
if __name__ == '__main__':
env_mode = os.getenv('FLASK_ENV', 'development')
debug_mode = os.getenv('FLASK_DEBUG', '1') == '1'
port = int(os.getenv('FLASK_PORT', '1705'))
with app.app_context():
inspector = inspect(db.engine)
db.create_all()
create_super_admin_if_needed()
app.run(debug=debug_mode, host='0.0.0.0', port=port)python -m myappReplace
myappwith the actual module or script name, such asapp.py.
liebemama/
├── app.py
├── run.py
├── venv/
├── requirements.txt
├── .env
├── templates/
├── static/
├── models/
├── routes/
└── ...
Tamer – github.com/TamerOnLine
This project is currently closed-source. For usage or collaboration inquiries, please contact the developer.