Open utterances-bot opened 3 years ago
Original author: TheSteve0 (thesteve0)
Original date: 2013-11-24T20:11:02Z
You could combine the two steps into one when you create the application
rhc create-app anchor zend-5.6 mysql-5.1
Awesome tutorial! Thanks
Original author: Marcello Seri (mseri)
Original date: 2013-11-25T11:38:34Z
You are perfectly right! Thanks for pointing this out
Original author: Kuba Łojewski (KubaLojewski)
Original date: 2013-12-03T20:46:47Z
I have tried around 5 times already, both on Windows and Ubuntu, and I can't get this to work. Anchor installs fine, but after I try to push the last changes (to save this install) I get reverted back to the installer, even though I do exactly as you say, point by point. Git unfortunately is harder to grasp than FTP. I really hope I'll manage to do this somehow.
Original author: Marcello Seri (mseri)
Original date: 2013-12-03T23:12:18Z
That's strange. It sounds like the modified files were not uploaded/synced.
Can you tell me what happens if, in the folder of our project, you do:
$ rhc ssh yourappname
And in the shell that appears (it should look like a long string ending with \>) you do
..\> less app-root/runtime/repo/php/.htaccess
(the output should be: https://gist.github.com/mse... if not it means that for some reasons the new .htaccess was not pushed)
Similarly
..\> less app-root/runtime/repo/php/anchor/config/app.php
should be equal to the app.php that is contained in the file config.tar that you get after the first configuration.
Original author: Kuba Łojewski (KubaLojewski)
Original date: 2013-12-04T08:33:07Z
Thanks for the advice, although I have figured it out by myself before you answered. It was my fault, rookie mistake and I feel like a moron :D
So, you cannot execute:
$ ssh uuid(anchor)-mseritutorial.rhcloud.com 'tar c app-root/runtime/repo/php/install' > install.tar
$ ssh uuid(anchor)-mseritutorial.rhcloud.com 'tar c app-root/runtime/repo/php/anchor/config' > config.tar
in Windows' command line, since there's no native ssh, so using putty I tried to bypass it. It worked, but my mind didn't connect that one has to save these compressed folders on the local drive instead of the server itself. Welp. So I logged into Ubuntu, downloaded the tars after Anchor installation and the rest worked like a charm.
I'm not a programmer but a political scientist, hence hosting, coding and so on are my hobbies which I learn by myself in my spare time, so sometimes I do stupid stuff like this.
Original author: IbnSaeed (IbnSaeed)
Original date: 2014-08-02T07:30:29Z
When i create a new app, there is no php folder inside anchor. Should i create a new empty folder and follow the tutorial or just follow the tutorial with the anchor folder. ?
I created the app using rhc app-create anchor php-5.4 mysql-5.1
Original author: Curiositry (Curiositry)
Original date: 2014-11-15T02:29:35Z
Looks to me like now that OpenShift has a PHP 5.4 cartridge, you should be able to just use that for Anchor, which requires PHP 5.3.6+ at the time of writing. Just a heads up.
Deploying Anchor CMS on OpenShift // A fractal spectrum of tales
Free thoughts of a geeky mathematician
https://www.mseri.me/deploying-anchor-cms-on-openshift/