nextcloud / nextcloud.com

🌏 Our website
https://nextcloud.com
Other
207 stars 127 forks source link
design hacktoberfest nextcloud wordpress

Contributing to nextcloud.com 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

Quick docker setup

Manual setup

  1. 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 stored in git
  2. Setup the repository
    1. Clone the repository in a folder of your choice
      • git clone git@github.com:nextcloud/nextcloud.com next
    2. In the wordpress installation in the wp-content/themes folder, create a link to the folder you just cloned the repository in under the name 'next'
  3. Activate the theme in Appearance > Themes
  4. 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 repository and click upload
    • Select Import
  5. Copy over config.php.sample to config.php and adjust settings as necessary (defaults will work just fine for local environments)

Development Process

Notes

Testing

The list below covers most pages on our site, copy it in a PR that needs site-wide testing, so one can just quickly click the links and check all pages. This is assuming you have a local setup on 127.0.0.1 for testing - we sadly have no working staging server.