This is the source of The Paranoid Times Gemini capsule that is hosted on SourceHut Pages.
Link to capsule: gemini://capsule.theparanoidtimes.org.
Any Gemini server can be used for local development. Here is the example using JetForce.
In order to install JetForce server in the project directory:
$ python3 -m virtualenv ./venv
$ source ./venv/bin/activate
$ pip install jetforce
To run the server:
./venv/bin/jetforce --dir public/
This will start the server and serve the capsule on localhost:1965
.
To view it, use any Gemini client (AV-98 for example).
To exit virtualenv:
deactivate
Publishing is done automatically via builds.sr.ht. See build definition.
Copyright (C) 2021-2023. Dejan Josifović, The Paranoid Times
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.