Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mig

Mig is a photo album / image gallery management system.

It is written in PHP and requires nothing but PHP to operate.

See https://mig.wcht.de/ for details and contact.

Documentation and changelog for older releases is also located on the website https://mig.wcht.de/docs/ or just look in the docs folder.

See https://github.com/Boris-de/mig-contrib for helpful utilities.

CI

Development

To run a simple development instance you can use make dev-server to start a simple local webserver on port 8080 with a random example album, alternatively you can also run make dev-server DEV_SERVER_PORT=8000 to specify a different port.

To run the tests you can use make unittests which requires phpunit to be installed. To generate code coverate you can run make coverage which needs xdebug. With make podman-unittests you can run the unittests in a container (run make with PODMAN=docker as a parameter to use docker) and make podman-unittests-all runs the unittests in different versions of PHP.

If you have psalm installed you can run the static analysis with make psalm.

To build the index.php and run it with different PHP versions you can use make podman PODMAN_PHP_VERSION=7.4 which opens a random local port on a randomly generated album.

Releasing

To build a release a few variables need to be set to specify the version of the release, the gpg information for signing and the local target directory for the documentation.

make clean release VERSION=... MIG_GPG_KEY="..." MIG_GPG_EMAIL="..." MIG_SITE_DIR="..."

Git tags

Most of the tags are converted from the original CVS, but some where missing and added later (v1.2.7, v1.2.7p1, v1.2.8, v1.2.9r, v1.3.0) based the commit mesages and a comparison of the content of the release tarballs. For 1.2.9 a slight difference between the commit and the tar exists, hence the "r"-suffix

About

Mig is a photo album / image gallery management system. It is written in PHP and requires nothing but PHP to operate.

Resources

License

Stars

Watchers

Forks