diff --git a/README.md b/README.md index 83f2ca5..7b0c935 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,7 @@ ssh akvps "cd /home/django/hostinger-django-demo && sudo bash deploy/deploy-proj - `deploy/deploy-project.sh` - Multi-project system with auto repo naming **Documentation:** -- `MULTI_PROJECT_SETUP.md` - Complete multi-project guide -- `SIMPLE_DEPLOY.md` - Quick deployment reference +- `MULTI_PROJECT_SETUP.md` - Complete multi-project guide **Setup:** - `setup-django-user.sh` - Create django user on fresh VPS diff --git a/SIMPLE_DEPLOY.md b/SIMPLE_DEPLOY.md deleted file mode 100644 index 69f5580..0000000 --- a/SIMPLE_DEPLOY.md +++ /dev/null @@ -1,34 +0,0 @@ -# Simple Django VPS Deployment - -## 🎯 What This Is -A Django demo project that deploys to any VPS with one command. - -## 🚀 Deploy to VPS - -### After VPS Reset: -```bash -# 1. Fix SSH key -ssh-keygen -f '/home/amit/.ssh/known_hosts' -R '69.62.81.168' - -# 2. Setup django user -scp setup-django-user.sh akvps:/root/ -ssh akvps "sudo bash /root/setup-django-user.sh" - -# 3. Clone and deploy -ssh akvps "cd /home/django && git clone https://github.com/thecyberlearn/hostinger-django-demo.git" -ssh akvps "cd /home/django/hostinger-django-demo && echo -e 'https://github.com/thecyberlearn/hostinger-django-demo.git\n\n69.62.81.168' | sudo bash deploy/production-deploy.sh" -``` - -## 🔧 Update After Changes -```bash -# Push changes to GitHub first -git add . && git commit -m "update" && git push - -# Then update VPS -ssh akvps "cd /var/www/django-app && sudo -u django git pull && sudo systemctl restart gunicorn nginx" -``` - -## 📱 Your Site -**URL**: http://69.62.81.168/ - -That's it! 🎉 \ No newline at end of file