From 3aaa5d13e87f97cc1e1f12257bf1abd398404d8d Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 27 May 2019 02:36:00 -0500 Subject: [PATCH] refine makefile --- Makefile | 4 ++++ readme.md | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 35ccd98..a8a2604 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,9 @@ help: install: @echo 'noop' + @virtualenv venv + @source venv/bin/activate + @pip install -r requirements.txt uninstall: @echo 'noop' @@ -23,6 +26,7 @@ uninstall: update: @echo 'noop' @git submodule update --recursive --remote + @source venv/bin/activate @pip install -r requirements.txt plugins diff --git a/readme.md b/readme.md index 9c056ca..6ed1c59 100644 --- a/readme.md +++ b/readme.md @@ -10,16 +10,12 @@ There's not really a whole lot here, but it contains all the posts and content; 1. SSH into your server 1. Clone the repo - `git clone https://github.com/alopexc0de/c0de.dev-blog` 1. `cd c0de.dev-blog` -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` +1. Install the config and plugins - `sudo make install` ## Updating 1. SSH into your server 1. `cd c0de.dev-blog` -1. `source venv/bin/activate` 1. `make update` ## TODO