An open API service indexing awesome lists of open source software.

https://github.com/rootwork/qoti.org

Queer on the Inside
https://github.com/rootwork/qoti.org

Last synced: 3 months ago
JSON representation

Queer on the Inside

Awesome Lists containing this project

README

          

QOTI is Queer on the Inside prisoner solidarity.

QOTI is created with the static site generator [Hugo](http://gohugo.io).

# Local development

* `hugo server`
* Point a web browser to [http://localhost:1313/](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

* [Follow the instructions](https://golang.org/doc/install)

## Hugo

* Get the `hugo_extended_VERSION_OS-64bit.*` [package from GitHub
releases](https://github.com/gohugoio/hugo/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](https://gohugo.io/getting-started/installing#debian-and-ubuntu).
* 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](https://gist.github.com/nikhita/432436d570b89cab172dcf2894465753)

## 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](https://creativecommons.org/licenses/by-nc-sa/4.0/).

The source code used to format and display that content is licensed under the
[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.txt), as
noted in the
[LICENSE](https://github.com/rootwork/qoti.org/blob/master/LICENSE) file.