install - Installing dropbox (and use Kirby CMS) on openshift -


i'm trying find way integrate kirby cms dropbox running on openshift using these tutorials: http://getkirby.com/blog/kirby-meets-dropbox http://getkirby.com/forum/how-to/topic:561

i stuck installing dropbox, since assume don't have permission while sshing: http://www.dropbox.com/install?os=lnx

so question: there way of achieving greatness? if no, not if reaaaally creative? if no, why not? if yes, how?

thanks bunch!

i have no experience kirby, here's how dropbox working on openshift.

the following combination of doing dropbox install on server , doing in non-standard location. gets done in $openshift_data_dir because that's have write privileges.

first, make sure you're in $openshift_data_dir

cd $openshift_data_dir 

next, download appropriate version of dropbox:

wget -o - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - 

this should give .dropbox-dist folder in $openshift_data_dir.

next, tell dropbox start installation process, tell home directory $openshift_data_dir:

home=$openshift_data_dir ./.dropbox-dist/dropboxd start -i 

follow instructions link dropbox account openshift server. after it's linked, should start syncing in dropbox account $openshift_data_dir/dropbox. might bad thing because have data in dropbox account. if so, should exclude folders.

you can cli script dropbox provides. still in $openshift_data_dir, download it:

wget -o dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py" 

make sure it's executable:

chmod +x dropbox.py 

you need run same way dropbox:

home=$openshift_data_dir $openshift_data_dir/dropbox.py -h 

hope helps.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -