refine makefile

This commit is contained in:
David Todd 2019-05-27 02:36:00 -05:00
parent da540e70ba
commit 3aaa5d13e8
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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