Contributing to ownCloud.org website
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
Setup of a local development environment
- Install Wordpress >= 3.8.1
- Must be in the document root of the webserver (otherwise images won't load :( )
- Enter what you like for site title, admin user and password, none of this is used by git
- Clone the www repo into your wp-content/themes folder under the name 'owncloudorgnew'
- git clone [email protected]:owncloud/www.repo owncloudorgnew
- Activate the theme in Appearance > Themes
- Import the website content .xml file
- First install the Wordpress Import Plugin (via Tools > Import > Wordpress Import > Install Plugin)
- Select the content.xml file from the www repo and click upload
- Select Import
- Copy over config.php.sample to config.php and adjust settings as necessary
- In Settings > Reading assign a static front page of 'home'
Development Process
- Setup your local development environment using the instructions above
- Create a new branch based off master live (our equivelant of stable in the core repo)
- Submit a pull request to master once the feature/bugfix is complete (this is so we can test it on the staging server)
- Upon review, a core developer will permit the merge into master
- Code will be pulled onto staging.owncloud.org for testing (ping @tomneedham for this)
- Upon approval this will be cloned over to www.owncloud.org (by merging into the live branch)
Notes
- Please don't commit straight into the master or live branches.