दस्तावेज़ पर वापस
Deploy करें

GitHub Repository से Deploy करें

Automatic framework detection के साथ GitHub से सीधे अपने applications deploy करें।

Intermediate8 min readUpdated 2024-02-01

GitHub कनेक्ट करें

पहले, अपना GitHub account कनेक्ट करें:

  1. Settings > GitHub पर जाएं
  2. "Connect GitHub" पर क्लिक करें
  3. OAuth से Server Compass authorize करें
  4. अब आपकी repositories accessible हैं

आप कई GitHub accounts (personal और organization) कनेक्ट कर सकते हैं।

Repository चुनें

  1. "Deploy New App" पर क्लिक करें
  2. Source में "GitHub" चुनें
  3. अपना GitHub account चुनें
  4. अपनी repositories search या browse करें
  5. Deploy करने की repository चुनें

Deployment कॉन्फ़िगर करें

Server Compass आपका framework auto-detect करता है और सुझाता है:

  • Build command: npm run build, आदि
  • Start command: npm start, आदि
  • Dockerfile: Generated या detected

आप customize कर सकते हैं:

  • Deploy करने की branch
  • Environment variables
  • Build arguments
  • Port configuration

Build options

Build method चुनें:

  • Server-side build: आपके VPS पर build करें (सर्वर resources उपयोग)
  • GitHub Actions: GitHub के free CI minutes से build करें (recommended)

GitHub Actions builds आपके सर्वर resources को ऐप्स चलाने के लिए free रखते हैं।

Deploy और Monitor करें

  1. अपनी configuration review करें
  2. "Deploy" पर क्लिक करें
  3. Real-time में build logs देखें
  4. Deployment progress monitor करें
  5. पूरा होने पर अपना ऐप access करें

Screenshots

GitHub Repository से Deploy करें - Screenshot 1
GitHub Repository से Deploy करें - Screenshot 2
GitHub Repository से Deploy करें - Screenshot 3

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes.

Download Server Compass