add comment about seeding

This commit is contained in:
Codeberg 2021-02-02 02:46:42 +01:00
parent 874b21826f
commit fe6a6ff967

View File

@ -7,7 +7,7 @@
```shell ```shell
# will build the binary into ${BUILDDIR}. The golang compiler is fetched and installed into ${BUILDDIR} # will build the binary into ${BUILDDIR}. The golang compiler is fetched and installed into ${BUILDDIR}
make BUILDDIR=$PWD make BUILDDIR=$PWD
# Create a random avatar and write it to /tmp/avatar.svg # Create a random avatar and write it to /tmp/avatar.svg. Note that for the same seed string always the same image will be generated.
$PWD/gitea/bin/avatar my-special-seed-string > /tmp/avatar.svg $PWD/gitea/bin/avatar my-special-seed-string > /tmp/avatar.svg
# Open SVG file with image viewer # Open SVG file with image viewer
eog /tmp/avatar.svg eog /tmp/avatar.svg