Album software van pics.hashru.nl
Go to file
Joost Rijneveld a211e3ae4a Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00
controllers Replace deprecated strftime calls 2022-05-07 13:25:19 +02:00
dev Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00
models Complete date-ordered orderings 2022-11-22 12:00:53 +01:00
public Replace event.keyCode with event.key equivalents. 2021-02-16 15:26:57 +01:00
templates Refactor GenericTable to use PageIndex rather than inherit from it 2021-02-17 20:43:30 +01:00
.gitattributes Initial commit. 2017-11-09 17:00:22 +01:00
.gitignore Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00
LICENSE.md Add BSD 3-clause license. 2020-12-30 13:55:30 +01:00
README.md Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00
TODO.md Implement basic tag management. 2017-11-09 17:00:36 +01:00
app.php Register ErrorHandler before Session start. 2020-03-11 22:38:17 +01:00
composer.json Initial commit. 2017-11-09 17:00:22 +01:00
config-dev.php.dist Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00
config.php.dist Fixes the template config for new websites 2018-06-30 17:02:03 +00:00
import_albums.php More hashes to get rid of. 2017-11-09 17:00:34 +01:00
import_postprocess.sh Fix rotation through exiftool after importing. 2017-11-09 17:00:34 +01:00
migrate_thumbs.php Backport asynchronous thumbnail generation from Kabuki. 2017-12-20 14:51:23 +01:00
server Elaborate on how to set up dev env 2022-11-27 14:03:14 +01:00

README.md

HashRU Pics

This is the development repository for the HashRU photo website. The CMS and its modules originate in Kabuki CMS, but have been extended and are maintained separately in this repository.

Requirements

The Kabuki codebase requires the following PHP extensions to be enabled for full operation:

  • exif
  • imagick (PECL)
  • mysqli

Setup

Copy config.php.dist to config.php and set-up the constants contained in the file. For development, consider starting from config-dev.php.dist.

Ensure you have a MySQL database running with credentials matching your config.php. For development, consider the /dev/docker-compose.yml file.

Run composer install. If you do not have composer installed globally, run it from the project directory as follows:

wget -O composer-setup.php https://getcomposer.org/installer
php composer-setup.php --install-dir=.
php ./composer.phar install

Running

For development purposes, simply run the server script provided in the root of this repository. This will start a PHP development server on 127.0.0.1:8080.

For a production environment, please set up a proper PHP-FPM environment instead.

Contributing

Pull requests are welcome over at the HashRU Gitea.

License

The HashRU Pics repository is licensed with a BSD 3-clause license, as is Kabuki CMS.