"Provision. Demonstrate. Destroy."
The Demo Destroyer is a high-octane, hacker-aesthetic dashboard designed for System Administrators and DevOps engineers who need to spin up temporary Odoo instances for client demos and ensure they are annihilated afterwards.
- 🚀 Instant Provisioning: Deploy Odoo 16.0, 17.0, or 18.0 instances with a single click.
- ⏳ Self-Destruct Timers: Set a lifespan (1-24 hours) for each instance. Automatic cleanup ensures no resource wastage.
- 💀 Kill Switch: Immediate termination of any active instance from the dashboard.
- 💻 Hacker UI: A terminal-inspired interface with dark mode and neon green accents.
- 🛡️ Cross-Platform:
- Simulation Mode: Runs on Windows/Mac for testing (mocks shell commands).
- Production Mode: Executes real
provision.shanddestroy.shscripts on Linux servers.
- Frontend: Streamlit
- Backend Logic: Python
- Data Management: Pandas & JSON
- System Automation: Bash /
at(Linux only)
-
Clone the repository:
git clone https://github.com/yourusername/odoo-demo-destroyer.git cd odoo-demo-destroyer -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
- Open the dashboard in your browser (usually
http://localhost:8501). - Launch Control: Enter a Client Name, select an Odoo Version, and set the Timer.
- Click Deploy Instance.
- Watch it appear in the Live Instances table.
- Click KILL to manually destroy an instance before its timer expires.
This is the recommended way to run the application on your Ubuntu server.
-
Build and Run:
docker-compose up -d --build
-
Access:
- Dashboard:
http://YOUR_SERVER_IP:8501 - Odoo Instances: Will be available at
http://YOUR_SERVER_IP:PORT(the port is dynamically assigned).
- Dashboard:
-
Caddy (Optional): If you use Caddy, you can use the provided
Caddyfileto map a domain to the dashboard.demo-destroyer.yourdomain.com { reverse_proxy localhost:8501 }
Built with 💚 by [Your Name]