Installation/OpenShift: Difference between revisions

From diaspora* project wiki
No edit summary
(This environment is unsupported.)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here is a quick guide to deploy Diaspora* on OpenShift, the cloud solution powered by RedHat
{{UnsupportedEnvironment}}
{{Note|OpenShift support is still work in progress and not official, see the [https://github.com/MrZYX/diaspora-openshift/issues open issues]}}


1. Create an account (it's free !)
Go to https://github.com/jhass/diaspora-openshift and follow the readme there.
2. Choose Ruby on Rails application
3. Choose a public URL and change "Source Code" to git://github.com/diaspora/diaspora.git
4. Keep a copy of your MySQL settings, you will need it ;)
5. Connect to your cloud with ssh : You have a example with git :
git clone ssh://a-lot-of-number-and-letters@yourappli-yournamspace.rhcloud.com/~/git/timmy.git/
Connect by transform this command to
ssh a-lot-of-number-and-letters@yourappli-yournamspace.rhcloud.com


You probably need to set a public key in your account setting first. If you don't have one, generate one with sh-keygen and put it in .ssh in your home
[[Category:Installation]]
 
[[Category:Podmin]]
In your cloud, go to the app folder :
cd app-root/repo/
run bundle install :
bundle install
 
edit your diaspora.yaml and database.yaml file :  
cd config
mv diaspora.yaml.example diaspora.yaml
mv database.yaml.example database.yaml
nano diaspora.yaml
edit the url and remove the # in front of certificate_authorities: '/etc/pki/tls/certs/ca-bundle.crt' and port: 3000
nano database.yaml

Latest revision as of 14:57, 17 October 2018

WarningWarning:

The following instructions are maintained by community contributors and describe the installation inside an environment not supported by the diaspora* team.

Due to the nature of these installations, diaspora* might not work, have some limitations, or encounter unexpected issues. The diaspora* team might not be able to help you with troubleshooting your installation. Proceed at your own risk.

Please check our official installation guides for information on how to install diaspora* inside a supported environment.

NoteNote:OpenShift support is still work in progress and not official, see the open issues

Go to https://github.com/jhass/diaspora-openshift and follow the readme there.