From 629124f0d5dc64e73d858bcf5af4393db50a1e26 Mon Sep 17 00:00:00 2001 From: thecyberlearn Date: Sat, 30 Aug 2025 09:29:13 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Remove=20redundant=20SI?= =?UTF-8?q?MPLE=5FDEPLOY.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SIMPLE_DEPLOY.md was duplicate of README.md content - Now we have only 2 docs: README.md + MULTI_PROJECT_SETUP.md - Even cleaner project structure --- README.md | 3 +-- SIMPLE_DEPLOY.md | 34 ---------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 SIMPLE_DEPLOY.md 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