From 3647bfe04c75809aef457518df6324a3f3ae0a93 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 27 May 2019 02:32:02 -0500 Subject: [PATCH] change update instructions --- Makefile | 3 +++ readme.md | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7f3ad5a..67202b3 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ uninstall: update: @echo 'noop' + @git submodule update --recursive --remote + @pip install -r requirements.txt + plugins plugins: @echo 'Creating symlinks for plugins' diff --git a/readme.md b/readme.md index 86b2111..9c056ca 100644 --- a/readme.md +++ b/readme.md @@ -13,15 +13,14 @@ There's not really a whole lot here, but it contains all the posts and content; 1. Setup a virtualenv - `virtualenv venv` 1. Activate it - `source venv/bin/activate` 1. Install dependencies into virtualenv - `pip install -r requirements.txt` - +1. Install the service and plugins - `sudo make install` ## Updating 1. SSH into your server 1. `cd c0de.dev-blog` -1. Activate virtualenv - `source venv/bin/activate` -1. Install/Update plugins - `git submodule update --recursive --remote` -1. Install dependencies into virtualenv - `pip install -r requirements.txt` +1. `source venv/bin/activate` +1. `make update` ## TODO