db setup moved to readme
This commit is contained in:
parent
0d89ed23cd
commit
b25b954181
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue