small php+sql web-comic system. No bloat, you gloat.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
M. Gardner ba2c8e6a70 Merge branch 'master' of https://tildegit.org/haivets/wbcmc 2 months ago
css make it impossible to look before the beginning 2 years ago
sqlite fix things, should work and be portable now. Also added sample database. 2 months ago
.gitignore remove database from noticed stuff 2 years ago
README.md clarify some stuff 2 years ago
add_image.sh fix things, should work and be portable now. Also added sample database. 2 months ago
add_image.sql fix things, should work and be portable now. Also added sample database. 2 months ago
comics.sql add database structure 2 years ago
config.ini.mysql.php add example mysql config 2 years ago
config.ini.sqlite.php fix things, should work and be portable now. Also added sample database. 2 months ago
index.php make it impossible to look before the beginning 2 years ago
setup.php make conffile compatible with other dialects (specifically sqlite) 2 years ago

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).