when i ran it I got this-> markdown # NimbusHost - Cloud Deployments for Indie Devs π A Render alternative for indie developers to deploy apps with Docker/Git with automatic SSL, metrics, and usage-based billing. ## Features - Deploy from Git repo or Dockerfile - Automatic subdomains (app.yourdomain.localhost) - Usage-based billing with Stripe integration - Real-time logs and metrics - CLI tool for deployments ## Quick Start ### Prerequisites - Docker & Docker Compose - Python 3.9+ - Node.js 16+ ### Setup 1. Clone the repository: bash git clone https://github.com/yourusername/nimbushost.git cd nimbushost 2. Set up environment variables: bash cp .env.example .env # Edit .env with your values 3. Start services: bash docker-compose up -d 4. Initialize database: bash ./scripts/bootstrap_local.sh 5. Start frontend: bash cd frontend npm install npm run dev 6. Start backend: bash cd backend python -m pip install -r requirements.txt python app/main.py ### Testing Flow 1. Visit http://localhost:3000 and register 2. Deploy the sample app from examples/sample-flask-app 3. Access your app at http://app-.localhost 4. Check billing metrics in dashboard ## Environment Variables DATABASE_URL=postgresql://postgres:postgres@db:5432/nimbushost SECRET_KEY_BASE=replace_with_a_random_secret JWT_SECRET=replace_with_jwt_secret STRIPE_SECRET_KEY=sk_test_xxx STRIPE_PUBLISHABLE_KEY=pk_test_xxx DOMAIN_BASE=localhost NGINX_CONF_DIR=/etc/nginx/conf.d DOCKER_REGISTRY=localhost:5000 ## CLI Usage bash # Install CLI pip install -e cli/ # Login nh login # Deploy app nh deploy --repo https://github.com/yourrepo --name myapp # View logs nh logs --tail # Open app nh open ## Roadmap - [ ] Multi-host support - [ ] Kubernetes integration - [ ] Production-grade security - [ ] Let's Encrypt integration
verified
seeeeee commited on