help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
code-assistant-bot
RSK World
code-assistant-bot
Code Assistant Bot - Python + Flask + OpenAI API + Code Generation + Debugging + Code Analysis + GitHub Integration
code-assistant-bot
  • __pycache__
  • static
  • templates
  • utils
  • .env.example755 B
  • .gitignore956 B
  • CHANGELOG.md3.6 KB
  • DEPLOYMENT.md1.9 KB
  • FEATURES.md5 KB
  • GITHUB_RELEASE_INSTRUCTIONS.md3.9 KB
  • LICENSE1.2 KB
  • Procfile44 B
  • README.md10 KB
  • README_DEPLOYMENT.md2.3 KB
  • RELEASE_NOTES.md3.9 KB
  • app.py18.5 KB
  • code-assistant-bot.png1.1 MB
  • config.py3.2 KB
  • requirements.txt851 B
  • run.py1.6 KB
  • runtime.txt15 B
  • vercel.json314 B
  • wsgi.py271 B
app.cpython-313.pycDEPLOYMENT.md
app.cpython-313.pyc

This file cannot be displayed in the browser.

Download File
DEPLOYMENT.md
Raw Download

DEPLOYMENT.md

# Code Assistant Bot - Web Deployment Guide
# Author: RSK World (https://rskworld.in)
# Founder: Molla Samser
# Designer & Tester: Rima Khatun
# Contact: help@rskworld.in, +91 93305 39277
# Year: 2026

## Quick Web Deployment Options

### Option 1: PythonAnywhere (Recommended)
1. Create account at [pythonanywhere.com](https://www.pythonanywhere.com/)
2. Create new Web App
3. Select Flask framework
4. Upload your project files
5. Set environment variables in Web tab
6. Install requirements from requirements.txt

### Option 2: Heroku
1. Install Heroku CLI
2. Create `Procfile`:
```
web: gunicorn app:app
```
3. Create `runtime.txt`:
```
python-3.9.0
```
4. Deploy:
```bash
heroku create
git push heroku main
```

### Option 3: Vercel (Serverless)
1. Install Vercel CLI
2. Create `vercel.json`:
```json
{
"version": 2,
"builds": [
{
"src": "app.py",
"use": "@vercel/python"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "app.py"
}
]
}
```

### Option 4: Railway
1. Connect GitHub repository
2. Railway will auto-detect Flask
3. Set environment variables
4. Deploy automatically

## Required Environment Variables

Set these in your hosting platform:

```
OPENAI_API_KEY=your_actual_openai_api_key
SECRET_KEY=your_random_secret_key
FLASK_ENV=production
PORT=5000
GITHUB_TOKEN=your_github_token_optional
```

## Static File Configuration

For production, ensure static files are served properly:
- CSS: `/static/css/style.css`
- JS: `/static/js/app.js`
- Images: `/static/images/`

## Domain Configuration

After deployment, you can:
- Use provided subdomain
- Connect custom domain
- Configure SSL certificate

## Security Notes

- Never expose API keys in frontend
- Use HTTPS in production
- Set up rate limiting
- Monitor API usage

## Support

For deployment issues: help@rskworld.in | +91 93305 39277

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer