This cartridge uses Spress 1.1.1, PHP 5.4 and Spresso as default theme.
- Installing the OpenShift Client Tools (RHC).
- Create a new application on OpenShift using this command:
rhc app create spress http://spress.yosymfony.com/openshift-cartridge/manifest.yml
- Ready! you can access to your new site.
- Clone the repository that is associated with your OpenShift gear to your local machine.
cd /YOUR-REPOSITORY-FOLDER
- The
www/
folder contains your Spress site. - Make your changes and send a pull to repository. You do not need to upload your
_site
folder that is created by running Spress locally. - Your OpenShift gear will take care of building your site with your changes.
Note that each time you make a pull to repository, your site is builing with --env=prod
option.
Do not change the values for host
and port
variables at config_prod.yml
.