Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Ubergeek | d36a937be8 | |
ubergeek | 38a10b5f99 | |
ubergeek | cd83d09e12 |
|
@ -21,8 +21,10 @@ trigger:
|
|||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
- sudo -Hu www-data git -C /var/www/zine.tildeverse.org pull --rebase origin master
|
||||
- cd /var/www/zine.tildeverse.org
|
||||
- sudo -Hu www-data git pull origin master
|
||||
- name: build
|
||||
commands:
|
||||
- sudo -Hu www-data make -C /var/www/zine.tildeverse.org all
|
||||
- cd /var/www/zine.tildeverse.org
|
||||
- make all
|
||||
|
||||
|
|
13
Makefile
13
Makefile
|
@ -2,7 +2,7 @@
|
|||
DEST_DIR ?= dist
|
||||
|
||||
# find all issues and determine required output files
|
||||
ISSUES != find ./issues/* -type d
|
||||
ISSUES != find . -path "./issues/*" -type d
|
||||
DEST_PDF_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.pdf)
|
||||
DEST_HTML_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.html)
|
||||
DEST_EPUB_FILES := $(ISSUES:./issues/%=$(DEST_DIR)/issue-%.epub)
|
||||
|
@ -36,12 +36,11 @@ $(DEST_DIR)/issue-%.pdf: issues/%
|
|||
--file-scope \
|
||||
--from markdown \
|
||||
--to latex \
|
||||
--standalone \
|
||||
--pdf-engine xelatex \
|
||||
--table-of-contents \
|
||||
--lua-filter increase-header-levels.lua \
|
||||
--variable title:"tildeverse zine $(subst -, ,$(basename $(@F)))" \
|
||||
--variable geometry:margin=.75in \
|
||||
--pdf-engine xelatex \
|
||||
--variable title:"tildeverse zine $@" \
|
||||
--standalone \
|
||||
--output $@ \
|
||||
$</*.md
|
||||
|
||||
|
@ -55,7 +54,7 @@ $(DEST_DIR)/issue-%.html: issues/%
|
|||
--table-of-contents \
|
||||
--lua-filter header-permalinks.lua \
|
||||
--lua-filter increase-header-levels.lua \
|
||||
--metadata title:"tildeverse zine $(subst -, ,$(basename $(@F)))" \
|
||||
--metadata title:"tildeverse zine $@" \
|
||||
--variable include-before:"<div class=\"container\">" \
|
||||
--variable include-after:"</div>" \
|
||||
--css https://tilde.team/css/hacker.css \
|
||||
|
@ -71,7 +70,7 @@ $(DEST_DIR)/issue-%.epub: issues/%
|
|||
--standalone \
|
||||
--table-of-contents \
|
||||
--lua-filter increase-header-levels.lua \
|
||||
--metadata title:"tildeverse zine $(subst -, ,$(basename $(@F)))" \
|
||||
--metadata title:"tildeverse zine $@" \
|
||||
--output $@ \
|
||||
$</*.md
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
|
@ -1,41 +1,35 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
|
||||
<link rel="icon" href="favicon.png">
|
||||
<title>tildeverse zine</title>
|
||||
</head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
|
||||
<title>tildeverse zine</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>~zine</h1>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>tildeverse zine</h1>
|
||||
|
||||
<p>this is the tildeverse zine</p>
|
||||
<p>this is the tildeverse zine</p>
|
||||
<p>get involved and send in some content: <a href="https://tildegit.org/tildeverse/zine">tildeverse/zine</a></p>
|
||||
|
||||
<h3>issues</h3>
|
||||
<hr>
|
||||
<h2>issues</h2>
|
||||
|
||||
<ul>
|
||||
<?php foreach (array_map(function ($i) { return mb_substr(basename($i, ".html"), 6); }, glob("*.html")) as $i): ?>
|
||||
<li><strong>issue <?=$i?></strong>
|
||||
<a href="issue-<?=$i?>.html">html</a>
|
||||
<a href="issue-<?=$i?>.pdf">pdf</a>
|
||||
<a href="issue-<?=$i?>.epub">epub</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<hr>
|
||||
<?php foreach (glob("*.html") as $issue) {
|
||||
$issue = mb_substr(basename($issue, ".html"), 6); ?>
|
||||
<h4>issue <?=$issue?></h4>
|
||||
<p>
|
||||
<a href="issue-<?=$issue?>.html">html version</a>
|
||||
<a href="issue-<?=$issue?>.pdf">pdf version</a>
|
||||
<a href="issue-<?=$issue?>.epub">epub version</a>
|
||||
</p>
|
||||
<?php } ?>
|
||||
|
||||
<p>
|
||||
get involved: send in some via pull request to <a href="https://tildegit.org/tildeverse/zine">tildeverse/zine</a>
|
||||
or mail a patch to <a href="mailto:ben@tilde.team">ben</a>
|
||||
</p>
|
||||
<p>stop by our irc channel: <a href="https://kiwi.tilde.chat/#zine">#zine</a></p>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ so you can try to ensure it's going to be fun.
|
|||
Before you start down the road, ask yourself "Why?" Why do you want to
|
||||
make a tilde server? To be ultimate lord over a domain? To have a cool
|
||||
art project to play with? Any reason is a valid reason, but the "Why"
|
||||
answer will help you build your tilde and cultivate its community.
|
||||
answer will help you build your tilde, and cultivate it's community.
|
||||
|
||||
## How?
|
||||
|
||||
|
@ -46,7 +46,7 @@ mind there as well.
|
|||
|
||||
One thing to keep in mind, though: If you're going to do the same thing
|
||||
every other pubnix operator does (Most commonly used distro, most common
|
||||
web server, most common forum software, most common set of service, etc)
|
||||
web server, most common forum software, most common set of service, etc;
|
||||
then what will make your pubnix different? The "Why?" answer will fill
|
||||
this part in, which is the reason why it's the most important question,
|
||||
and comes first.
|
||||
|
@ -65,7 +65,7 @@ technical decisions, and things to install, services to provide, etc etc
|
|||
## So, who actually did this?
|
||||
|
||||
I can tell you from personal experience with thunix, that I went through
|
||||
these same steps. Some questions were pre-answered since I essentially
|
||||
these same steps. Some questions were pre-answered since I essential
|
||||
took the reins from an already existing project.
|
||||
|
||||
Why? I felt I had a lot of experience to lend to the community. My
|
||||
|
@ -76,7 +76,7 @@ chat, but there are other tools for that sort of thing. But,
|
|||
nonetheless, experience I have, and decentralization is what I wanted to
|
||||
bring. I also wanted to give users a place to play with what a CI/CD
|
||||
environment is like, and as such, we designed thunix to be built and
|
||||
maintained in a devops manner: users and administrators work hand in
|
||||
maintained in a devops manner: Users and administrators work hand in
|
||||
hand to build the system.
|
||||
|
||||
How? My job pays well enough that I have some disposable income, on a
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# How Dare You!
|
||||
|
||||
## How Very Dare You!
|
||||
![howdareyou.jpg](https://thunix.net/~ubergeek/media/howdareyou.jpg)
|
Loading…
Reference in New Issue