QOTI is Queer on the Inside prisoner solidarity.
QOTI is created with the static site generator Hugo.
Local development
hugo server
- Point a web browser to http://localhost:1313/
Generating the site for production
hugo -D
The static site is rendered in the public
directory.
Note that this is excluded from the repo in .gitignore
, so this is just to see what it will look like. Use a GitHub Action to generate the site online.
Fresh installation
Go
Hugo
- Get the
hugo_extended_VERSION_OS-64bit.*
package from GitHub releases (e.g.hugo_extended_0.87.0_Linux-64bit.deb
). On Debian-based Linux systems, ignore the alert that an older package is available in the channel. - Install the package, which will place it in
/usr/local/bin/hugo
.
This repo
git clone git@github.com:rootwork/qoti.org.git
cd qoti.org
git submodule update --init --recursive
Updating dependencies
Go
- Check version:
go version
- Remove old version and install new version
Hugo
- Check version:
hugo version
sudo rm -rf /usr/local/bin/hugo
- Reinstall following the instructions above.
License
The content of the site, located in the hugo/content
directory only, is
licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0
International License.
The source code used to format and display that content is licensed under the GNU General Public License v3.0, as noted in the LICENSE file.