Skip to content
This repository has been archived by the owner. It is now read-only.
Repository has been moved! 🚚 🚚 🚚
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
content update clone URL for QEMU instructions Jun 30, 2018
logo All new homepage and blog post! (#26) Sep 3, 2017
static Moving to gitlab post (#65) Jun 27, 2018
templates header: link to gitlab instead of GitHub Jun 30, 2018
.gitignore Delete and ignore docs/ Sep 4, 2017 Delete and ignore docs/ Sep 4, 2017 new redirect: git -> Git_repository_move Jun 30, 2018 Spring 2018 blog post about #postmarketOS-lowlevel (WIP) (#55) Apr 14, 2018 Add FAQ to the homepage (#49) Feb 5, 2018


Python Requirements Setup

Python 3.4+ is supported. Install all requirements, preferably within a virtualenv:

$ python -m venv .venv
$ source .venv/bin/activate
(venv)$ pip install -r requirements.txt

New Blog Content

Blog content is written in markdown format with metadata in the file header. Filename syntax is

$ cat >content/blog/ << EOF
> ---
> title: Happy New Year!
> ---
> This is a *markdown* **formatted** post.

Dev Server

Run the dev server during local development, changes are auto reloaded:

(venv)$ FLASK_DEBUG=1 flask run


Not much CSS is used due to heavy usage of Tachyons toolkit classes. Please use CSS judiciously only when needed.

Any CSS used should be compiled via lessc:

$ npm install -g less
$ lessc static/css/main.less static/css/main.css


To run a static site build, run:

(venv)$ python

This will generate a static version in docs/. Any manual changes to the docs/ directory will be overridden in the next build.

Note that the docs/ directory is ignored and not versioned.

You can’t perform that action at this time.