Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
23 lines (17 loc) · 429 Bytes

File metadata and controls

23 lines (17 loc) · 429 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Deployment Update

Locally

  1. Add all your local changes
  2. Commit
  3. Push to master

In your EC2

  1. Navigate into your project folder
  2. Git add everything but db.sqlite3
    git add .
    git reset db.sqlite3
    
  3. Commit
  4. Stash all db changes: git stash
  5. Pull the changes from git
  6. Restart gunicorn: sudo systemctl restart gunicorn
  7. Restart nginx: sudo service nginx restart
Morty Proxy This is a proxified and sanitized view of the page, visit original site.