A simple Gopher Server built on top of Pituophis.
First create a virtual env:
$ python3 -m venv venv
Then activate it,
$ source env/bin/activate
Install the dependencies:
$ pip3 install -r requirements.txt
Finally, run the server:
$ python3 server.py
To access the server, you need a Gopher capable browser such as Lynx or Gophie.
Once you have that in place, open gopher://127.0.0.1:/7070
and you should see the home page.
To modify the content, just go to the home_page
directory and apply the changes.
A good place to learn about gopher page syntax if you are not familiar with it, here.
To deactivate virtual environment:
$ deactivate
Generate requirement.txt
file:
$ pip3 freeze > requirements.txt
To install from the dependency file:
$ pip3 install -r requirements.txt