Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

gautamkrishnar/Anchor-CMS-openshift-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anchor CMS on openshift

Join the chat at https://gitter.im/gautamkrishnar/Anchor-CMS-openshift-quickstart

Anchor is a super-simple, lightweight blog system, made to let you just write. Anchor gives you full freedom over your words. Just write in Markdown or HTML. This is a modified version of Anchor CMS that is optimized for openshift. Find out more about anchor CMS at: https://anchorcms.com/

Install with one click

Create an account at http://openshift.redhat.com/

![Click to install OpenShift](http://launch-shifter.rhcloud.com/launch/light/Click to install.svg)

How to use

You can install the anchor CMS by pointing your browser to : http://anchor-yourdomain.rhcloud.com/

Follow the ownscreen instructionsrd

after the installation is complete you can access admin dashboard at : http://anchor-yourdomain.rhcloud.com/admin

If you are experiencing any problems, please don't forget to open a new issue in this repository.

Installing via the command line

Create a PHP application :

rhc app create anchor php-5.4 mysql-5.5

You can also use any other custom name instead of 'anchor'. Remember to use that app name in the next command

Add this upstream Anchor CMS quickstart repo

cd anchor
rm php/index.php
git remote add upstream -m master https://github.com/gautamkrishnar/Anchor-CMS-openshift-quickstart.git
git pull -s recursive -X theirs upstream master

Push the repo upstream to OpenShift

git push        

Head to your application at:

http://anchor-$yourdomain.rhcloud.com

To give your new Anchor site a web address of its own, add your desired alias:

rhc app add-alias -a anchor --alias "$whatever.$mydomain.com"

Then add a cname entry in your domain's dns configuration pointing your alias to $whatever-$yourdomain.rhcloud.com.

Spread the word

Liked using Anchor CMS in openshift! Don't forget to spread the word by starring this repo.

Contributors