From d59c15589fbbdaf263408c3273a68e0a2b056ed1 Mon Sep 17 00:00:00 2001 From: "M. Gardner" Date: Sun, 28 Jul 2019 15:11:42 +0300 Subject: [PATCH] add setup instructions. --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5dccfb..4d99d56 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,17 @@ At the moment, it ~~only works~~ would work with mysql/mariadb, but it is planne ## Tech: + php + bash - + mysqli - + scss for the css \ No newline at end of file + + some form of sql + + scss for the css + +## setup + +To set up the webcomic system, you will need to do the following: + + 1) choose a dialect of sql. As far as I know, any dialect works, but only mysql and sqlite have been tested. + 2) copy or write `config.ini.php`. If you choose to use one of the tested variants, sample config files are provided. + 3) setup the database. It is remarcably simple: + +id | file | title | hover +---|------|-------|------ +number, preferably auto-incrementing. primary key| location of image files, text|webpage title, text| hovertext, text