Quick development and deployment for mega-scale, fully distributed REST applications using awesome PHP and CMD-Auth of https://link133.com.
composer create-project "cleandeck/cleandeck" ./
- update file .env.ini (
baseURL
,cookie[domain]
a.o.) - update file Application/public/robots.txt
- if required adjust contents in directory deploy/settings (default settings are for Fedora and others alike)
- 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
CleanDeck has a really simple top-level structure.
All application contents is placed inside directory Application (including public HTTP directory).
You should only use directory Application when developing an application.
For changes outside directory Application you should probably start contributing.
Framework stuff is placed inside directory Framework.
This project may be downloaded from:
- https://packagist.org -
composer create-project cleandeck/cleandeck ./
- GitHub