CleanDeck (PHP)
CleanDeck (PHP)
Rapid development and deployment for PHP applications implementing CMD-Auth specifications.
Installation
composer create-project "cleandeck/cleandeck" ./
composer update
composer dump-autoload
- update file .env.ini
- update file Application/public/robots.txt
- if required adjust contents in directory deploy/settings
- setup PHP and webserver (choose a version from the list below):
sudo env COMPOSER_ALLOW_SUPERUSER=1 composer exec cleandeck-deploy php apache2
sudo env COMPOSER_ALLOW_SUPERUSER=1 composer exec cleandeck-deploy php nginx
sudo env COMPOSER_ALLOW_SUPERUSER=1 composer exec cleandeck-deploy php nginx-ex
- (re)start webserver and PHP-FPM after each use of command composer exec cleandeck-deploy
- start development