EXPERIMENT / PRERELEASE
An open source landing page generator built on CakePHP. Use to host static landing pages for multiple domain names and subdomains in one easy-to-edit location.
CakeLander is a hobby project built as a solution for a friend looking to host landing page content for a handful of parked domains that each need to contain their own unique body content while sharing a uniform theme, navigation menu, and style. Each landing page is capable of having a unique title, image slider, logo, menu, and body content.
PHP 5.4 and above. CakePHP 2.5 and above.
php composer.phar install
This template is setup to configure the application via environment variables and data source names (DSN).
In a development scenario, copy the file Config/.env.default
to Config/.env
and edit it.
In a production scenario - configure the environment however you wish (via webserver config for example) and remove the use of php-dotenv
.
In neither case is it necessary/desirable to modify any php files to configure the application temporarily or permanently.
This application template is compatible with the CHH/heroku-buildpack-php project. To use, simply configure your buildpack:
heroku config:set BUILDPACK_URL=https://github.com/CHH/heroku-buildpack-php
heroku config:set LOG_PATH=/app/vendor/php/var/log/
heroku config:set SECURITY_SALT=SOME_ALPHANUMERIC_SALT_HERE
heroku config:set SECURITY_CIPHER_SEED=SOME_NUMERIC_SEED_HERE
The application template comes with some dependencies already included in the composer file. These are designed to help you get up and running quickly.
To find out how to make the most of these packages, please read their respective README files.