Deploy Rails app to Openshift
1. Create new app from web console
- Create a new app on Openshift
- Install Ruby and Ruby Gem (search Google for install them)
- Install Openshift Client Tools
sudo gem install rhc
or gem install rhc (in my case)
if you get promt
Enter the server hostname:
Please Press Enter to set Default then you enter mail and password to login Openshift
Generate a token now? (yes|no) yes
- Create project
+ Using rhc
rhc app create <app_name> <web_cartridge_name>
+ Using web console
git clone <git ssh url> <namefoldercreateapp>
You must find SSH url of your app on Openshift
2. Deploy exist app to Openshift
Coming soon.....
- Create a new app on Openshift
- Install Ruby and Ruby Gem (search Google for install them)
- Install Openshift Client Tools
sudo gem install rhc
or gem install rhc (in my case)
if you get promt
Enter the server hostname:
Please Press Enter to set Default then you enter mail and password to login Openshift
Generate a token now? (yes|no) yes
- Create project
+ Using rhc
rhc app create <app_name> <web_cartridge_name>
+ Using web console
git clone <git ssh url> <namefoldercreateapp>
You must find SSH url of your app on Openshift
2. Deploy exist app to Openshift
Coming soon.....
Deploy Rails app to Openshift
Reviewed by quyencv
on
10:03:00
Rating:

Không có nhận xét nào: