mirror of
https://github.com/c0de-archive/c0de.dev-blog.git
synced 2024-12-22 00:52:39 +00:00
refine makefile
This commit is contained in:
parent
da540e70ba
commit
3aaa5d13e8
4
Makefile
4
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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user