deepsiteV2 / text.md
ongudidan's picture
new file: text.md
75cc9f0

πŸš€ Quick Copy-Paste Setup

cd "C:\Users\Dan Ong'udi\Docker Projects\deepsite"

git init
git checkout -b main

git remote add origin https://huggingface.co/spaces/ongudidan/deepsite-v2

git add .
git commit -m "Initial DeepSite v2 upload"

git push origin main --force

πŸ‘‰ When prompted:

  • Username β†’ ongudidan
  • Password β†’ your Hugging Face access token (not your Hugging Face password).

πŸ“– Documentation: Connecting Local Repo to Hugging Face Space

1. Navigate to Your Project Folder

Move into your project directory:

cd "C:\Users\Dan Ong'udi\Docker Projects\deepsite"

2. Initialize Git Repository

If this is a fresh project:

git init
git checkout -b main

This creates a new Git repository and ensures you’re working on the main branch.

3. Add Hugging Face Space as Remote

Connect your local repository to the Hugging Face Space:

git remote add origin https://huggingface.co/spaces/ongudidan/deepsite-v2

πŸ”‘ Note: This uses a clean HTTPS URL (no token in the remote).

4. Stage and Commit Files

Add all project files and create your first commit:

git add .
git commit -m "Initial DeepSite v2 upload"

5. Push to Hugging Face

Push your code to the Space:

git push origin main --force

You will be prompted for credentials:

  • Username β†’ your Hugging Face username (ongudidan).
  • Password β†’ your Hugging Face access token (generated at HF settings).

βœ… After a successful push, Hugging Face will build and deploy your Space automatically.