c0de.dev-blog/readme.md

31 lines
842 B
Markdown
Raw Normal View History

2019-05-27 05:44:18 +00:00
# c0de.dev Blog
This is a [Pelican](https://getpelican.com) based blog that powers [c0de.dev](https://c0de.dev).
There's not really a whole lot here, but it contains all the posts and content; as well as all configuration files.
## Installation
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`
2019-05-27 07:32:02 +00:00
1. Install the service and plugins - `sudo make install`
2019-05-27 05:44:18 +00:00
2019-05-27 07:01:45 +00:00
## Updating
1. SSH into your server
1. `cd c0de.dev-blog`
2019-05-27 07:32:02 +00:00
1. `source venv/bin/activate`
1. `make update`
2019-05-27 07:01:45 +00:00
2019-05-27 05:44:18 +00:00
## TODO
* Service/Unit to run this in a server on prod
* Git hooks to automatically fetch content
* NginX config
2019-05-27 06:53:32 +00:00
* Automatic plugin linking