add setup instructions.

This commit is contained in:
M. Gardner 2019-07-28 15:11:42 +03:00
parent ee5c3e32b8
commit d59c15589f
1 changed files with 14 additions and 2 deletions

View File

@ -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
+ 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