pong / RUN_SETUP.md
chrisxx's picture
Add Neural Pong application files
8746765
|
raw
history blame
1.35 kB

Git Setup Complete - Next Steps

I've created a setup script for you. Here's what to do:

Run the Setup Script

cd /share/u/wendler/code/toy-wm-hf-space
chmod +x setup-git.sh
./setup-git.sh

This script will:

  1. โœ… Initialize git (if needed)
  2. โœ… Remove old SSH remote
  3. โœ… Add HTTPS remote: https://huggingface.co/spaces/wendlerc/pong
  4. โœ… Stage all files
  5. โœ… Create initial commit (if needed)
  6. โœ… Ensure branch is named main
  7. โœ… Show you the push command

After Running the Script

The script will show you the exact command to push. It will be:

git push -u origin main

Before Pushing - Important!

Make sure your Space exists:

  1. Go to: https://huggingface.co/spaces/wendlerc/pong
  2. If it doesn't exist, create it:

Then Push

git push -u origin main

You'll be prompted for your Hugging Face credentials (username and access token).

If You Need an Access Token

  1. Go to: https://huggingface.co/settings/tokens
  2. Create a new token with "write" permissions
  3. Use it as your password when pushing

The setup script is ready! Just run ./setup-git.sh and follow the instructions.