Skip to content

bon4to/cde

Repository files navigation

Control & Dispatch Engine

cde-banner

A modular web-based application designed for inventory management, logistics coordination, and lightweight ERP functionalities.

Originally conceived as a warehouse management tool, CDE evolved into a flexible system for managing operational workflows, dispatch routines, and department-level tasks.



Features

  • Inventory registration, editing, and tracking
  • Order dispatch and control routines
  • Batching and expiring management
  • Modular architecture for extensibility
  • Templated user interface using Jinja2
  • Internal API endpoints with Flask routing

Tech Stack

  • Backend: Python (Flask), JavaScript
  • Frontend: Jinja2 templates (HTML + JS)
  • Database: SQLite

Installation

  1. Clone the repository:

    git clone https://github.com/lucas-bonato/cde.git
    cd cde
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On Mac/Linux:

      source venv/bin/activate
  4. Install the dependencies:

    pip install -r requirements.txt
  5. Run the application:

    python cde_wsgi.py

⚠️ Important: To perform ODBC-based queries to the ERP, the companion service cde-api must be installed on the machine where the appropriate driver is available.


Structure

/cde
 ├── /static           # CSS, JS, images
 ├── /templates        # Jinja2 templates (.j2 files)
 ├── /app              # Application logic
 ├── /db               # Database related files 
 ├── /tests            # Testing files 
 ├── /userdata         # Configuration files for users
 ├── cde.py            # Flask application logic
 ├── cde_wsgi.py       # WSGI entry point
 └── requirements.txt

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss the proposed modifications.
Feel free to fork the repository and submit enhancements aligned with the project's scope and architecture.


License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Control & Dispatch Engine (CDE) - open sourced tool for inventory management.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •