db setup moved to readme

This commit is contained in:
James Tomasino 2022-02-21 00:53:56 +00:00
parent 0d89ed23cd
commit b25b954181
1 changed files with 0 additions and 8 deletions

View File

@ -3,14 +3,6 @@ from sqlite3 import Error
import os
import urllib.parse
""" Create database with:
sqlite3 db/cgi-example.sqlite3 < create_schema.sql
Then give write permission to the both the database
and the containing directory "db" to the user that your
gemini server runs as
"""
dir_name = os.path.dirname(__file__)
db_name = r"db/cgi-example.sqlite3"
db_file = os.path.join(dir_name, db_name)