adds comment about creation of database

This commit is contained in:
James Tomasino 2022-02-20 23:03:26 +00:00
parent ecd73ead15
commit 2711e2c748
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,13 @@
import sqlite3
from sqlite3 import Error
""" 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
"""
database = r"db/cgi-example.sqlite3"
def create_connection():