lugnitdgp / GSoc_Docify

The TDoc 23 project
5 stars 3 forks source link
hacktoberfest

Docify

Docify, a Python-based app, akin to Google Docs, employs sockets for real-time data synchronization, fostering seamless collaboration among users for efficient and concurrent document editing.

Tech Stacks Used

PyQt5, Sockets, Supabase

Table of Contents

Supabase Tables

user Table

docs Table

Configuration

  1. Cloudinary Credentials:

    • Create a file named cloudinary_credentials.py in your home directory and configure it with your Cloudinary credentials.
      
      # cloudinary_credentials.py
      import cloudinary
      import cloudinary.uploader

    Configure your Cloudinary credentials

    cloudinary.config( cloud_name='your_cloud_name', # Replace with your Cloudinary cloud name api_key='your_api_key', # Replace with your Cloudinary API key api_secret='your_api_secret' # Replace with your Cloudinary API secret )

  2. Supabase and SMTP Credentials:

    • Create a file named credentials.py in the utils directory and configure it with your Supabase URL and key, and SMTP username and password.
      
      # utils/credentials.py

    Supabase credentials

    SUPABASE_URL = 'your_supabase_url' # Replace with your Supabase URL SUPABASE_KEY = 'your_supabase_key' # Replace with your Supabase API key

    Google SMTP credentials

    google_username = 'your_smtp_username' # Replace with your SMTP username google_password = 'your_smtp_password' # Replace with your SMTP password

Setup Instructions

Clone the Repository:

git clone https://github.com/Pudi-Sravan/Docify-TDoC.git
cd your-repo-name 

Install Dependencies:

pip install -r requirements.txt

To start the main application:

python3 main.py
python3 server.py