mirror of
https://github.com/c0de-archive/c0de.dev-blog.git
synced 2024-12-22 08: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:
|
install:
|
||||||
@echo 'noop'
|
@echo 'noop'
|
||||||
|
@virtualenv venv
|
||||||
|
@source venv/bin/activate
|
||||||
|
@pip install -r requirements.txt
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo 'noop'
|
@echo 'noop'
|
||||||
@ -23,6 +26,7 @@ uninstall:
|
|||||||
update:
|
update:
|
||||||
@echo 'noop'
|
@echo 'noop'
|
||||||
@git submodule update --recursive --remote
|
@git submodule update --recursive --remote
|
||||||
|
@source venv/bin/activate
|
||||||
@pip install -r requirements.txt
|
@pip install -r requirements.txt
|
||||||
plugins
|
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. SSH into your server
|
||||||
1. Clone the repo - `git clone https://github.com/alopexc0de/c0de.dev-blog`
|
1. Clone the repo - `git clone https://github.com/alopexc0de/c0de.dev-blog`
|
||||||
1. `cd c0de.dev-blog`
|
1. `cd c0de.dev-blog`
|
||||||
1. Setup a virtualenv - `virtualenv venv`
|
1. Install the config and plugins - `sudo make install`
|
||||||
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
|
## Updating
|
||||||
|
|
||||||
1. SSH into your server
|
1. SSH into your server
|
||||||
1. `cd c0de.dev-blog`
|
1. `cd c0de.dev-blog`
|
||||||
1. `source venv/bin/activate`
|
|
||||||
1. `make update`
|
1. `make update`
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user