diff --git a/.env.dev b/.env.dev deleted file mode 100644 index 6bc77b3..0000000 --- a/.env.dev +++ /dev/null @@ -1 +0,0 @@ -export DOMANI_CONFIG_PATH=./.dev-config.yml diff --git a/config.yml.tpl b/config.yml.tpl index 82bb900..e518a7d 100644 --- a/config.yml.tpl +++ b/config.yml.tpl @@ -4,6 +4,13 @@ origin: store_dir_path: /tmp/domani_dev_env/origin domain: store_dir_path: /tmp/domani_dev_env/domain + builtins: + domani-test.localhost: + kind: git + url: https://code.betamike.com/micropelago/domani.git + branch_name: main + add_path_prefix: static + public: true service: passphrase: foobar primary_domain: localhost diff --git a/static/foo.gmi b/static/foo.gmi new file mode 100644 index 0000000..3417794 --- /dev/null +++ b/static/foo.gmi @@ -0,0 +1,3 @@ +# FOO + +This is foo diff --git a/static/foo.html b/static/foo.html new file mode 100644 index 0000000..96a73f5 --- /dev/null +++ b/static/foo.html @@ -0,0 +1,7 @@ + + +

FOO

+

This is the foo page

+ + + diff --git a/static/index.gmi b/static/index.gmi new file mode 100644 index 0000000..5e5bfee --- /dev/null +++ b/static/index.gmi @@ -0,0 +1,9 @@ +# INDEX + +This is the gemini index. + +=> foo /foo.gmi + +=> bar /subdir/bar.gmi + +=> penguin /penguin.jpg diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..a4317bb --- /dev/null +++ b/static/index.html @@ -0,0 +1,9 @@ + + +

INDEX

+

This is the index page.

+

Check out foo.

+

Check out bar.

+ + + diff --git a/static/penguin.jpg b/static/penguin.jpg new file mode 100644 index 0000000..e67581f Binary files /dev/null and b/static/penguin.jpg differ diff --git a/static/subdir/bar.gmi b/static/subdir/bar.gmi new file mode 100644 index 0000000..1f173b7 --- /dev/null +++ b/static/subdir/bar.gmi @@ -0,0 +1,3 @@ +# BAR + +This is bar diff --git a/static/subdir/bar.html b/static/subdir/bar.html new file mode 100644 index 0000000..5af52e5 --- /dev/null +++ b/static/subdir/bar.html @@ -0,0 +1,7 @@ + + +

BAR

+

This is the bar page

+ + + diff --git a/static/subdir/index.gmi b/static/subdir/index.gmi new file mode 100644 index 0000000..e5573ec --- /dev/null +++ b/static/subdir/index.gmi @@ -0,0 +1,3 @@ +# INDEX + +This is the gemini index of the subdir. diff --git a/static/subdir/index.html b/static/subdir/index.html new file mode 100644 index 0000000..9b7275c --- /dev/null +++ b/static/subdir/index.html @@ -0,0 +1,6 @@ + + +

INDEX

+

This is the index page of the subdir

+ +