Deploying Mejiro (or any PHP-based application for that matter) for production use usually requires a dedicated web server like Apache or lighttpd. However, it’s possible to run Mejiro using PHP’s built-in server. To do this, you need to install PHP, PHP-GD, and Git packages on your system. On Debian and Ubuntu, this can be done by running the apt-get install php5-cli php5-gd git command as root. Once you’ve done that, reboot the machine.
Clone then the Mejiro GitHub repository using the git clone https://github.com/dmpop/mejiro.git command. In the terminal, switch to the mejiro directory and start the server by running the php -S 0.0.0.0:8080 command. Point the browser to http://127.0.0.1:8080 to access Mejiro (replace 127.0.0.1 with the actual IP address or domain name of the machine running Mejiro).
Running Mejiro using the built-in server is not recommended for production use, but this option can be useful if you need to test Mejiro or instantly publish a handful of photos on a local network.