Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suhailvs/sobha
sobha
https://github.com/suhailvs/sobha
Last synced: 9 days ago
JSON representation
sobha
- Host: GitHub
- URL: https://github.com/suhailvs/sobha
- Owner: suhailvs
- Created: 2013-03-29T07:26:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-06T08:46:34.000Z (over 11 years ago)
- Last Synced: 2023-04-03T17:43:04.463Z (over 1 year ago)
- Language: Python
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sobha on openshift
==================Running on OpenShift
--------------------Create an account at http://openshift.redhat.com/
Install git and ruby
Install the RHC client tools if you have not already done so:
sudo gem install rhcCreate a python-2.6 application
rhc app create -a django -t python-2.6
Add openshift/django-example upstream repo
cd django
git remote add upstream -m master git://github.com/openshift/django-example.git
git pull -s recursive -X theirs upstream masterThen push the repo upstream
git push
As the `git push` output scrolls by, keep an eye out for a
line of output that starts with `CLIENT_MESSAGE: `. This line
contains the generated admin password that you will need to begin
administering your Django app. This is the only time the password
will be displayed, so be sure to save it somewhere.
That's it. You can now checkout your application at:http://django-$yournamespace.rhcloud.com
How to frequent update site
---------------------------go to the folder django(created when *rhc app create -a django -t python-2.6* command called):
cd django
make changes using your favourate text editor. replace the folder *wsgi/openshift* with this repository foler:
git add .
git commit -a
git push
othe rhc commands
-----------------to list all apps:
rhc apps
to delete app:
rhc app delete sobha --confirm