update README

This commit is contained in:
Denis Lehmann 2021-08-23 19:26:21 +02:00
parent 614b3a4ddf
commit 9ed458beb4

View file

@ -12,6 +12,14 @@
If you want to host it (e.g. under /socialize.mybar.org/), grab the code, adjust anything to your liking and provide the =index.html= and =favicon.png= files via a webserver. If you want to host it (e.g. under /socialize.mybar.org/), grab the code, adjust anything to your liking and provide the =index.html= and =favicon.png= files via a webserver.
This web page is also available as [[https://nixos.wiki/wiki/Flakes][Nix Flake]].
The two neccessary files are provided directly in =$out=.
To use it for example with Nginx, the flake (included as =socialize=) content can be used like this:
#+begin_example nix
services.nginx.virtualHosts."example.org".locations."/".root = socialize.packages."<your-arch>".socialize;
#+end_example
** Adding questions ** Adding questions
Fork this repo, add your questions to the =questions= array in the =index.html= file and submit a pull request :) Fork this repo, add your questions to the =questions= array in the =index.html= file and submit a pull request :)