Skip to content

Commit 00ddd4b

Browse files
committed
Add: .truewiki.yml support and move static into data-folder
This means that TrueWiki is now a stand-alone application that can run different wiki's, depending on the data folder. CSS, Javascript, and basic configuration comes from the data-folder now. Currently this means that running TrueWiki with an empty data-folder doesn't give the best experience, as there is absolutely no CSS loaded. Future commits will introduce a basic CSS to make sure TrueWiki works out-of-the-box, but to keep things a bit clear that is not part of this commit.
1 parent 04b2907 commit 00ddd4b

50 files changed

Lines changed: 152 additions & 677 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ RUN pip freeze 2>/dev/null > requirements.installed \
4141
|| ( echo "!! ERROR !! requirements.txt defined different packages or versions for installation" \
4242
&& exit 1 ) 1>&2
4343

44-
COPY static /code/static
4544
COPY templates /code/templates
4645
COPY truewiki /code/truewiki
4746
RUN mkdir /data

requirements.base

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ aioauth_client
33
click
44
GitPython
55
openttd-helpers
6+
PyYAML
67
wikitexthtml

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ multidict==5.0.0
1212
openttd-helpers==1.0.1
1313
ply==3.11
1414
python-slugify==4.0.1
15+
PyYAML==5.3.1
1516
regex==2020.10.28
1617
sentry-sdk==0.19.2
1718
smmap==3.0.4

static/css/base.css

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)