Newer
Older
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
43
44
45
46
47
48
49
50
51
How to use a flamingo-based website?
====================================
Requirements
------------
You will need at least Python 3.5.3 to run the live-server.
Writing Content
---------------
To write new content create a new file in `content/`.
If there is already a file that looks simliar to what you want
to do (e.g. write a blog post) just copy it.
If you want to manipulate existing content:
Take a look into the generated HTML. Between `</head>` and `<body>` is
a section containing some information about the file.
Find the file listed in `path` inside the `context/`-directory and
just edit the file ¯\_(ツ)_/¯
Preview
-------
Go into the base path of the project (that is where is `Makefile` is)
and type:
make server
Open your webbroser and navigate to http://localhost:8080/live-server .
A page in the live-server will reload every time to change the input.
Be aware that sometimes menus are broken in the preview.
Test-Deploy
-----------
If you want your changes to be reviewed by someone else you can push
your changed to a branch namend `testbed`.
Be aware that this branch may be overridden by others.
Always keep your changes in a personalized topic branch, e.g. `chrissi/blog`.
Your preview will be availalble at
https://testbed.freifunk-bs.de
Deploy
------
Push your changes to `master` and wait for the pipeline to finish
deployment.