This quickstart will help you get Statusnet up and running on Openshift.
-
Create an account at http://openshift.redhat.com/
-
Create a php-5.3 application (you can call your application whatever you want)
rhc app create -a statusnet -t php-5.3
-
Add a MySQL cartridge to your gear
rhc cartridge add -a statusnet -c mysql-5.1
-
Add this upstream git repository
cd statusnet git remote add upstream -m master git://github.com/mmahut/statusnet-quickstart.git git pull -s recursive -X theirs upstream master
-
Then push the repo to your application
git push
-
Login into your application URL with the login details below and change them.
Login: Admin Password: OpenShiftAdmin
-
Create yourself a new application at http://dev.twitter.com/apps/ and set the callback URL to http://statusnet-$username.rhcloud.com/index.php/twitter/authorization, also set the access read and write in the application settings.
-
Add the following to your config.php with your application consumer secrets
addPlugin('TwitterBridge'); $config['twitter']['enabled'] = true; $config['twitterimport']['enabled'] = true; $config['admin']['panels'][] = 'twitter'; $config['twitter']['consumer_key'] = 'TLRBX1Ucf8UzYrjYqw'; $config['twitter']['consumer_secret'] = 'LziE2TX6yEZaqaH2hcHypX99WYuOpQC7yFM';
-
Login into your statusnet and go to Settings -> Twitter. Connect your account and choose your Preferences.