2019-07-26 18:19:55 +00:00
|
|
|
# Wbcmc
|
|
|
|
## a small lightweight webcomic system, that only uses php, sh, and sql
|
|
|
|
|
|
|
|
At the moment, it ~~only works~~ would work with mysql/mariadb, but it is planned that it becomes dialect-agnostic, and use more lightweight stuff.
|
|
|
|
|
|
|
|
## Tech:
|
|
|
|
+ php
|
|
|
|
+ bash
|
2019-07-28 12:11:42 +00:00
|
|
|
+ some form of sql
|
|
|
|
+ scss for the css
|
|
|
|
|
|
|
|
## setup
|
|
|
|
|
|
|
|
To set up the webcomic system, you will need to do the following:
|
|
|
|
|
2019-07-28 12:12:59 +00:00
|
|
|
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:
|
2019-07-28 12:11:42 +00:00
|
|
|
|
|
|
|
id | file | title | hover
|
|
|
|
---|------|-------|------
|
|
|
|
number, preferably auto-incrementing. primary key| location of image files, text|webpage title, text| hovertext, text
|
2019-07-28 12:14:37 +00:00
|
|
|
|
|
|
|
See sample setup in `comics.sql` (mysql version).
|