Rallly

An open-source tool that simplifies scheduling and collaboration for events and meetings.

Accessing Rallly

  • افتح متصفحك وانتقل إلى: https://<SERVER-IP>/
  • قبول تحذير SSL (شهادة موقعة ذاتيًا).

Email (SMTP) Configuration

تأكد من السماح باتصالات SMTP لهذا الخادم (اطلب تمكين الوصول إلى SMTP).

SMTP settings are stored in: /root/rallly/config.env

To update SMTP or email settings:

  1. Edit the file: nano /root/rallly/config.env
  2. تطبيق التغييرات: cd /root/rallly && docker compose up -d

Creating the Admin Account

  1. Sign up using the admin email you provided during deployment.
  2. Once logged in, open: https://<SERVER-IP>/control-panel
  3. If your email matches INITIAL_ADMIN_EMAIL, you will see a button labeled: Make me an admin
  4. Click it to become the administrator.
  5. You can manage settings and prevent new users from registering an account.

الملفات والمجلدات المهمة

  • Main application directory: /root/rallly
  • Application environment configuration: /root/rallly/config.env
  • تكوين Docker Compose: /root/rallly/docker-compose.yml
  • بيانات PostgreSQL الدائمة: /var/lib/docker/volumes/rallly_db-data
  • تكوين Nginx: /etc/nginx/sites-available/rallly.conf
  • شهادات SSL: /etc/nginx/ssl/

إدارة الخدمة

التحقق من حالة الحاوية:

docker compose -f /root/rallly/docker-compose.yml ps

Restart Rallly:

docker compose -f /root/rallly/docker-compose.yml restart

عرض السجلات:

docker compose -f /root/rallly/docker-compose.yml logs -f

تمكين SSL باستخدام نطاق

1. قم بتوجيه نطاقك إلى عنوان IP للخادم.

2. تحرير /root/rallly/config.env ملف لتعيين اسم المجال الخاص بك: NEXT_PUBLIC_BASE_URL=https://your.domain.com

3. إعادة إنشاء الخدمات:

cd /root/rallly/
docker compose up -d

4. قم بتحرير تكوين Nginx واستبدل كلاهما server_name <IP>; مع نطاقك (<your-domain>) لكل من كتل HTTP (المنفذ 80) و HTTPS (المنفذ 443):

vim /etc/nginx/sites-available/rallly.conf

5. تثبيت Certbot:

apt install -y certbot python3-certbot-nginx

6. قم بتشغيل الأمر التالي لإنشاء شهادة Let’s Encrypt صالحة:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

7. استبدل مسارات SSL في تكوين Nginx (قسم TLS):

vim /etc/nginx/sites-available/rallly.conf
# Before:
    # ssl_certificate /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

8. أعد تشغيل Nginx لتطبيق التغييرات:

systemctl restart nginx

9. افتح متصفحك وانتقل إلى: https://yourdomain.com

تفاصيل الطلب