mirror of
https://github.com/thecyberlearn/hostinger-django-demo.git
synced 2026-08-18 08:52:57 +00:00
🗑️ Remove redundant SIMPLE_DEPLOY.md
- 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
This commit is contained in:
parent
23c2ad6b03
commit
629124f0d5
@ -59,7 +59,6 @@ ssh akvps "cd /home/django/hostinger-django-demo && sudo bash deploy/deploy-proj
|
||||
|
||||
**Documentation:**
|
||||
- `MULTI_PROJECT_SETUP.md` - Complete multi-project guide
|
||||
- `SIMPLE_DEPLOY.md` - Quick deployment reference
|
||||
|
||||
**Setup:**
|
||||
- `setup-django-user.sh` - Create django user on fresh VPS
|
||||
|
||||
@ -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! 🎉
|
||||
Loading…
Reference in New Issue
Block a user