site/wiki
Robert Miles 6dde906e15
continuous-integration/drone/push Build is passing Details
Add gemini CGI page
Nobody told me it was awful, so I'm going to put it up. If any changes need to
be made, they can be made.
2022-08-09 20:40:01 +00:00
..
pages Add gemini CGI page 2022-08-09 20:40:01 +00:00
README.md add nginx config note 2019-07-05 12:19:40 -04:00
index.php sort wikipages by title 2022-07-12 12:45:42 -04:00

README.md

tilde.team wiki

hi there, welcome to our wiki!

to contribute to the wiki:

  • fork the repo

  • clone the repo to your local machine (or your public_html folder on the tilde.team box for live testing)

git clone https://tildegit.org/yourusername/site
  • create a new branch for your page
git checkout -b my-new-page
  • if you want to add a new page, copy template.md into your new page!
cp template.md my-new-page.md
  • edit as needed!

  • test your changes with a local php server

composer install
php -S localhost:9000
git add --all
git commit -m "added my-new-page"
git push origin my-new-page # this should match the branch name you created earlier
  • create a pull request on the site repo

deployment notes

as of a7305c7b the wiki uses pretty urls (while still supporting the old style of ?page= urls). to enable this functionality, add the following location block to your nginx configs for this site:

location ~* ^/wiki/(.+)$ {
    try_files $uri $uri/ /wiki/index.php?page=$1;
    include snippets/php.conf;
}

thanks!~

ps. if you have any questions, ask on irc! (preferably in #team)