Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

chrisvogt/CakeLander

Repository files navigation

CakeLander

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.

Requirements

PHP 5.4 and above. CakePHP 2.5 and above.

Installation (uses Composer)

php composer.phar install

Application Configuration

This template is setup to configure the application via environment variables and data source names (DSN).

How to configure

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.

Heroku Compatibility

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

Included packages

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.

About

LEGACY — throwaway prototype CakePHP landing page generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published