c0de.dev-blog/readme.md

32 lines
939 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:01:45 +00:00
## Updating
1. SSH into your server
1. `cd c0de.dev-blog`
1. Activate virtualenv - `source venv/bin/activate`
1. Install/Update plugins - `git submodule update --recursive --remote`
1. Install dependencies into virtualenv - `pip install -r requirements.txt`
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