ڈویلپمنٹ ٹولز
GitHub جیسے انٹرفیس کے ساتھ ہلکے وزن کی خود میزبان گٹ سروس
واحد binary، کم سے کم RAM (100MB سے کم)، Raspberry Pi پر چلتا ہے
مانوس انٹرفیس جس میں repos، pull requests، issues، wikis اور code review کی سہولت دستیاب ہے۔
GitHub Actions workflows سے ہم آہنگ بلٹ اِن CI/CD
بلٹ اِن migration ٹولز کے ذریعے GitHub، GitLab اور Bitbucket سے درآمد
SQLite، PostgreSQL، MySQL، MSSQL اور TiDB کی سپورٹ
کنٹینر ڈیپلائمنٹس کے لیے سرکاری images اور Helm charts
# Download latest binary
wget -O gitea https://dl.gitea.com/gitea/1.21/gitea-1.21-linux-amd64
chmod +x gitea
# Run
./gitea web
# Access at http://localhost:3000Docker انسٹالیشن:docker run -d --name=gitea -p 3000:3000 -p 222:22 \
-v /var/lib/gitea:/data gitea/gitea:latestPostgreSQL کے ساتھ پروڈکشن:# Install PostgreSQL
sudo apt install postgresql
# Create DB & user
sudo -u postgres psql
CREATE DATABASE gitea;
CREATE USER gitea WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE gitea TO gitea;
# Create gitea user
sudo adduser --system --group --disabled-password --shell /bin/bash --home /home/git git
# Download & install
sudo wget -O /usr/local/bin/gitea https://dl.gitea.com/gitea/1.21/gitea-1.21-linux-amd64
sudo chmod +x /usr/local/bin/gitea
# Create directories
sudo mkdir -p /var/lib/gitea/{custom,data,log}
sudo chown -R git:git /var/lib/gitea
sudo chmod -R 750 /var/lib/gitea
# Systemd service
sudo nano /etc/systemd/system/gitea.service
# [Service]
# User=git
# WorkingDirectory=/var/lib/gitea
# ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
# Restart=always
sudo systemctl enable --now gitea
[server]
DOMAIN = git.yourdomain.com
HTTP_PORT = 3000
ROOT_URL = https://git.yourdomain.com/
[database]
DB_TYPE = postgres
HOST = localhost:5432
NAME = gitea
USER = gitea
PASSWD = password
[security]
INSTALL_LOCK = true
SECRET_KEY = generate_with_gitea_generate_secret
[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = falseGitea Actions (.gitea/workflows/build.yml) کی ترتیب:name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install && npm test
ہماری سادہ VPS نشریاتی عمل کے ساتھ منٹ میں شروع
Deploy in about 2 minutes • Full root access • Support by ticket and email