small php+sql web-comic system. No bloat, you gloat.
Go to file
M. Gardner ba2c8e6a70 Merge branch 'master' of https://tildegit.org/haivets/wbcmc 2021-05-20 14:15:23 +03:00
css make it impossible to look before the beginning 2019-07-28 14:30:08 +03:00
sqlite fix things, should work and be portable now. Also added sample database. 2021-05-20 14:13:32 +03:00
.gitignore remove database from noticed stuff 2019-07-28 17:17:10 +00:00
README.md clarify some stuff 2019-07-28 15:14:37 +03:00
add_image.sh fix things, should work and be portable now. Also added sample database. 2021-05-20 14:13:32 +03:00
add_image.sql fix things, should work and be portable now. Also added sample database. 2021-05-20 14:13:32 +03:00
comics.sql add database structure 2019-07-27 21:58:00 +03:00
config.ini.mysql.php add example mysql config 2019-07-28 15:02:58 +03:00
config.ini.sqlite.php fix things, should work and be portable now. Also added sample database. 2021-05-20 14:13:32 +03:00
index.php make it impossible to look before the beginning 2019-07-28 14:30:08 +03:00
setup.php make conffile compatible with other dialects (specifically sqlite) 2019-07-28 14:43:31 +03:00

README.md

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
  • 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

See sample setup in comics.sql (mysql version).