From Mature Crocodile, 10 Years ago, written in Plain Text.
Embed
  1. 1, $rhc app create paste php-5.4
  2.  
  3. 2, $rhc app create paste php-5.4 (watch out the mysql admin and password)
  4.  
  5. 3, $rhc ssh paste  
  6.     $cd /app-root/repo
  7.  
  8. 4, $git clone https://github.com/claudehohl/Stikked.git
  9.     $cd Stikked/htdocs
  10.     $mv application/ static/ system/ themes/ .htaccess favicon.ico index.php  ../../     (move them to "repo" where  index.php should be )
  11.     $cd application/config
  12.     $mv stikked.php.dist stikked.php
  13.  
  14. 5,  $env (find mysql host ip and blahblah)
  15. vi stikked.php and change mysql settings
  16.  
  17. 6,rhc app-stop paste
  18. rhc app-start paste
  19.  
  20. 7, got error like this
  21. then i set $db['default']['pconnect'] = False;
  22. $db['default']['db_debug'] = False;
  23.  
  24. 8,finally,i got 404 after i click create..
  25. what should i do?
  26. (u cloud just sign up a openshift's account and it's free.)