{"id":24788833,"url":"https://github.com/studiozeroseven/dash-deploy","last_synced_at":"2026-05-01T10:32:30.110Z","repository":{"id":271600490,"uuid":"913974117","full_name":"studiozeroseven/dash-deploy","owner":"studiozeroseven","description":"The Dash Deployment CLI is a fully interactive command-line application built using the Textual framework. It guides users through the process of deploying a Python Dash app to an Ubuntu server. The app automates the deployment steps, making it easy for developers to deploy their Dash apps without manually running commands or configuring services","archived":false,"fork":false,"pushed_at":"2025-01-08T20:35:03.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T18:21:26.654Z","etag":null,"topics":["bash","dash","python"],"latest_commit_sha":null,"homepage":"http://theapk.com/dash_deploy","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/studiozeroseven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T17:50:46.000Z","updated_at":"2025-01-08T20:35:06.000Z","dependencies_parsed_at":"2025-01-08T18:48:47.779Z","dependency_job_id":"9af54e52-82ab-4def-b082-30bcd3671fc0","html_url":"https://github.com/studiozeroseven/dash-deploy","commit_stats":null,"previous_names":["studiozeroseven/dash-deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/studiozeroseven/dash-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiozeroseven%2Fdash-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiozeroseven%2Fdash-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiozeroseven%2Fdash-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiozeroseven%2Fdash-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/studiozeroseven","download_url":"https://codeload.github.com/studiozeroseven/dash-deploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiozeroseven%2Fdash-deploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","dash","python"],"created_at":"2025-01-29T17:15:12.293Z","updated_at":"2026-05-01T10:32:30.069Z","avatar_url":"https://github.com/studiozeroseven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dash Deployment CLI\n\nThe **Dash Deployment CLI** is a fully interactive command-line application built using the **Textual** framework. It guides users through the process of deploying a Python Dash app to an Ubuntu server. The app automates the deployment steps, making it easy for developers to deploy their Dash apps without manually running commands or configuring services.\n\n---\n\n## Features\n\n- **Step-by-Step Guidance**: Walks users through the entire deployment process.\n- **Automated Commands**: Runs shell commands automatically to set up the server, install dependencies, and configure services.\n- **User-Friendly Interface**: Uses an interactive CLI interface with buttons, labels, and input prompts.\n- **Customizable**: Easily modify the app to suit specific deployment needs.\n- **Supports**:\n  - Python virtual environments.\n  - Dash and Gunicorn installation.\n  - Nginx configuration.\n  - Systemd service setup.\n\n---\n\n## Prerequisites\n\nBefore using the Dash Deployment CLI, ensure you have the following:\n\n1. **Ubuntu Server**: A running Ubuntu server (20.04 or later recommended).\n2. **Python 3.8+**: Installed on the server.\n3. **SSH Access**: Ability to connect to the server via SSH.\n4. **Dash App Code**: Your Dash app code ready for deployment.\n\n---\n\n## Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/studiozeroseven/dash_deploy.git\n   cd dash_deploy\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Run the CLI App**:\n   ```bash\n   python dash_deploy.py\n   ```\n\n## Usage\n\n1. **Start the App**:\n   Run the app using the command:\n   ```bash\n   python dash_deploy.py\n   ```\n\n2. **Follow the Prompts**:\n   - The app will guide you through each step of the deployment process.\n   - Provide inputs when prompted (e.g., app name).\n   - The app will automatically run commands and display output.\n\n3. **Deployment Steps**:\n   The app will perform the following steps:\n   - Update and install server dependencies.\n   - Set up a Python virtual environment.\n   - Install Dash and Gunicorn.\n   - Configure Nginx as a reverse proxy.\n   - Set up a systemd service to manage the Dash app.\n\n4. **Access Your Dash App**:\n   Once the deployment is complete, visit `http://your_server_ip` in your browser to access your Dash app.\n\n---\n\n## Customization\n\nYou can customize the app to suit your specific needs:\n\n1. **Nginx Configuration**:\n   Modify the Nginx configuration template in the `deploy_dash_app` method to add SSL, custom domains, or other settings.\n\n2. **Systemd Service**:\n   Adjust the systemd service configuration in the `deploy_dash_app` method to change user permissions, working directories, or other parameters.\n\n3. **Styling**:\n   Add custom CSS in the `style.css` file to change the appearance of the CLI interface.\n\n---\n\n## Example Deployment\n\nHere’s an example of how the app works:\n\n1. **Start the App**:\n   ```bash\n   python dash_deploy.py\n   ```\n\n2. **Welcome Screen**:\n   ```\n   Welcome to the Dash App Deployment CLI!\n   This tool will guide you through deploying your Dash app to an Ubuntu server.\n   [Start Deployment]\n   ```\n\n3. **Enter App Name**:\n   ```\n   Enter a name for your Dash app (e.g., mydashapp): mydashapp\n   ```\n\n4. **Follow the Steps**:\n   The app will automatically:\n   - Update the server.\n   - Install dependencies.\n   - Set up a virtual environment.\n   - Install Dash and Gunicorn.\n   - Configure Nginx and systemd.\n\n5. **Deployment Complete**:\n   ```\n   Deployment Complete!\n   Your Dash app is now deployed! Visit http://your_server_ip to access it.\n   ```\n\n---\n\n## Troubleshooting\n\n1. **Command Errors**:\n   - If a command fails, the app will display the error message. Check the error and ensure all prerequisites are met.\n\n2. **Nginx Issues**:\n   - If Nginx fails to restart, check the configuration file at `/etc/nginx/sites-available/your_app_name`.\n\n3. **Systemd Service Issues**:\n   - If the systemd service fails to start, check the logs using:\n     ```bash\n     sudo journalctl -u your_app_name.service\n     ```\n\n---\n\n## Contributing\n\nContributions are welcome! If you’d like to contribute to this project, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Commit your changes.\n4. Submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Acknowledgments\n\n- **Textual Framework**: For providing an excellent Python CLI framework.\n- **Dash Framework**: For making it easy to build web applications in Python.\n- **Codearmo Tutorial**: For the detailed deployment guide.\n\n---\n\n## Contact\n\nFor questions or feedback, please open an issue on GitHub or contact the maintainer:\n\n- **Ian Schwartz**\n- **Email**: ian@theapk.com\n- **GitHub**: [studiozeroseven](https://github.com/studiozeroseven)\n\n---\n\nEnjoy deploying your Dash apps with ease! 🚀\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiozeroseven%2Fdash-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudiozeroseven%2Fdash-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiozeroseven%2Fdash-deploy/lists"}