sandbox-ubuntu / deploy.sh
Claude
Add deployment scripts and instructions
205b164
raw
history blame contribute delete
839 Bytes
#!/bin/bash
# Deployment script for Ubuntu Development Environment Space
# Run this script on your local machine
echo "Setting up Hugging Face deployment..."
# Configure git with your Hugging Face credentials
git config user.name "shk-bd"
git config user.email "your-email@example.com"
# Add the remote (if not already added)
git remote add origin https://huggingface.co/spaces/shk-bd/ubuntu-dev-env
# Push to create the Space
echo "Pushing to Hugging Face Spaces..."
git push -u origin master
echo ""
echo "✅ Deployment initiated!"
echo ""
echo "Your Space will be available at:"
echo " https://shk-bd.hf.space"
echo ""
echo "Wait 2-3 minutes for the Space to build and deploy."
echo ""
echo "Access methods:"
echo " 1. Web Terminal: https://shk-bd.hf.space"
echo " 2. SSH: ssh root@shk-bd.hf.space (password: ubuntu)"
echo ""