blob: 4b85c9e5804e7240d67fe90d62673d091ca08d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# postmarketos.org
## Dev
### Python Requirements Setup
```bash
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
```
### Update Wiki Content
```bash
$ git submodule update --init --recursive
$ git pull --recurse-submodules
```
### New Blog Content
```bash
$ cat >content/blog/2017-12-31-happy-new-year.md << EOF
> ---
> title: Happy New Year!
> ---
>
> This is a *markdown* **formatted** post.
> EOF
```
### Dev Server
```bash
$ FLASK_DEBUG=1 FLASK_APP=app.py flask run
```
### Build
```bash
$ python freeze.py
```
|