Developing Owncloud app

Download and install OpenSuse from

From software management, install git, php5, php5-gd, php5-mbstring, php5-mcrypt, php5-mysql, php5-zip, php5-zlib, php5-curl

Then follow the instruction from

install ocdev using pip3

sudo pip3 install ocdev

ocdev setup base –branch stable8.1   (branch depends on your need)

then you will have a folder ‘core’ in the current working folder

cd core/apps

ocdev startapp MyApp

Then you will have an app called MyApp

cd ..  (go back to the core folder)

edit the php.ini file by

sudo vi /etc/php5/cli/php.ini

set the session.save_path to /tmp (or somewhere the current user account have write access)

start the ocdev server by

ocdev server

Then you can browse at http://localhost:8080


Leave a Reply