Deploy Your Static Site Anywhere
One of the biggest advantages of static sites is the ability to deploy them anywhere. Here's how to deploy your PyCora site to various hosting platforms.
Netlify
- Build your site:
python ssg.py - Drag and drop the
output/folder to Netlify dashboard - Or connect your GitHub repository for automatic deployments
Vercel
# Install Vercel CLI
npm i -g vercel
# Deploy
cd output
vercel --prod
GitHub Pages
# Build your site
python ssg.py
# Deploy to gh-pages branch
git subtree push --prefix output origin gh-pages
Cloudflare Pages
- Build your site:
python ssg.py - Connect your GitHub repository to Cloudflare Pages
- Set build command:
python ssg.py - Set output directory:
output
Any Static Hosting
Just upload the output/ directory to:
- Hostinger
- Namecheap
- Bluehost
- AWS S3
- Firebase Hosting
- Any web hosting provider
Deploy your PyCora site anywhere! 🚀