- 1,Create an account on OpenShift.
- 2,rhc app create hacknewsclone diy-0.1
- 3,cd hacknewsclone
- 4, git remote add upstream -m master git://github.com/shader/arc-openshift.git
- 5, git pull -s recursive -X theirs upstream master and git push
- here i $rhc app-force-stop hacknewsclone (for edit)
- 6, rhc ssh hackernewsclone AND cd app-root/repo/arc AND vi admins>"admin"
- 7, export PATH=$PATH:/var/lib/openshift/*******tpye "env" and paste the number here*********/app-root/data/racket-6.0.1/bin:$PATH
- then cd app-root/data/arc AND sh ./arc
- (load "lib/news.arc")
- 8,$rhc app-start hacknewsclone
- 9,still cannot see the admin rights