add setup instructions.
This commit is contained in:
parent
ee5c3e32b8
commit
d59c15589f
14
README.md
14
README.md
|
@ -6,5 +6,17 @@ At the moment, it ~~only works~~ would work with mysql/mariadb, but it is planne
|
||||||
## Tech:
|
## Tech:
|
||||||
+ php
|
+ php
|
||||||
+ bash
|
+ bash
|
||||||
+ mysqli
|
+ some form of sql
|
||||||
+ scss for the css
|
+ 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
|
||||||
|
|
Loading…
Reference in New Issue