Complete Step-by-Step Code Deployment Guide
Deploying your Python Telegram bot, Node.js app, or static web application on EliteHosting.in is fast, automated, and secure. Follow this simple guide to deploy your project in under 60 seconds.
Step 1: Choose Your Deployment Method
EliteHosting supports three convenient deployment methods:
- GitHub Repository Import: Simply paste your public or private GitHub repository URL (e.g.
https://github.com/username/my-telegram-bot.git). For private repositories, enter your GitHub Personal Access Token. - ZIP Archive Upload: Compress your project folder into a
.zipfile and drag-and-drop or select it in your dashboard. - Termux Mobile Deploy (Android): Mobile developers using Termux on Android can compress their Python/Node bot folder into a ZIP file and upload directly from their smartphone browser.
Step 2: Configure Environment Variables (Secret Vault)
Never commit plain-text API keys or bot tokens to Git repositories. In your EliteHosting dashboard:
- Navigate to the Environment Variables panel.
- Add key-value pairs for variables such as
TELEGRAM_BOT_TOKEN,MONGO_URI,DATABASE_URL, andAPI_SECRET. - Our runtime scheduler encrypts these keys and injects them directly into your application's in-memory environment at container startup.
Step 3: Define Custom Build or Deploy Commands (Optional)
Our intelligent DeployEngine automatically detects entry points (such as bot.py, main.py, app.py, index.js, or package.json start scripts) and installs dependencies (via requirements.txt or package.json). If your project requires custom commands:
- Build Command: e.g.,
pip install -r requirements.txtornpm install - Deploy Command: e.g.,
python3 bot.pyornode index.js
Step 4: Launch and View Live Logs
Click Deploy Server. Our container runner clones, builds, and starts your project instantly. You can inspect live terminal output, monitor memory usage, and manage process state directly from your client portal with 24/7 zero-sleep execution guarantee.