e1319cf30a | ||
---|---|---|
advisories | ||
assets | ||
l10n | ||
lib | ||
templates | ||
vendor | ||
.drone.yml | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.sass-lint.yml | ||
404.php | ||
CHANGELOG.md | ||
COPYING | ||
LICENSE | ||
LICENSE.md | ||
README.md | ||
about.php | ||
base.php | ||
blogrss.php | ||
composer.json | ||
composer.lock | ||
config.php.sample | ||
contact.php | ||
content.php | ||
content.xml | ||
favicon.ico | ||
functions.php | ||
googlefb7e109077872ef6.html | ||
index.php | ||
install-instructions-backup.php | ||
install-instructions.php | ||
l10n.php | ||
ocnews.php | ||
package.json | ||
page-about.php | ||
page-advisories.php | ||
page-advisory.php | ||
page-android.php | ||
page-appform.php | ||
page-appformsubmit.php | ||
page-apply.php | ||
page-apply2.php | ||
page-architecture-whitepapersubmit.php | ||
page-auditing-whitepapersubmit.php | ||
page-box.php | ||
page-buy.php | ||
page-changelog.php | ||
page-clients.php | ||
page-code-of-conduct.php | ||
page-collaboraonline.php | ||
page-community.php | ||
page-compare.php | ||
page-conf.php | ||
page-conference-program.php | ||
page-confinfo.php | ||
page-connect.php | ||
page-consulting.php | ||
page-contact.php | ||
page-contactform.php | ||
page-contactsubmit.php | ||
page-contribute.php | ||
page-contributors.php | ||
page-design.php | ||
page-desktop.php | ||
page-devices.php | ||
page-education.php | ||
page-enterprise.php | ||
page-events.php | ||
page-faq.php | ||
page-features.php | ||
page-federation.php | ||
page-file-access-whitepapersubmit.php | ||
page-globalscale.php | ||
page-gs-whitepapersubmit.php | ||
page-hackathon.php | ||
page-history.php | ||
page-homepage.php | ||
page-impressum.php | ||
page-install-backup.php | ||
page-install.php | ||
page-jobs.php | ||
page-meetups.php | ||
page-migration.php | ||
page-monitoring.php | ||
page-news.php | ||
page-newsletter.php | ||
page-nextcloud12-whitepapersubmit.php | ||
page-order.php | ||
page-ordersubmit.php | ||
page-outlook.php | ||
page-partners.php | ||
page-pidrive.php | ||
page-policy.php | ||
page-pr20160602.php | ||
page-pr20160614.php | ||
page-pr20160705.php | ||
page-pr20160719.php | ||
page-pr20160721.php | ||
page-pr20160725.php | ||
page-pr20160812.php | ||
page-pr20160825.php | ||
page-pr20160901.php | ||
page-pr20160916.php | ||
page-pr20160929.php | ||
page-pr20161027.php | ||
page-pr20161213.php | ||
page-pr20170307.php | ||
page-pr20170502.php | ||
page-pr20170508.php | ||
page-pr20170522.php | ||
page-pr20170807.php | ||
page-pr20170824.php | ||
page-press.php | ||
page-pricing.php | ||
page-privacy.php | ||
page-promote.php | ||
page-providers.php | ||
page-providersubmit.php | ||
page-release-channels.php | ||
page-salessubmit.php | ||
page-secure-drop.php | ||
page-secure.php | ||
page-securesharesubmit.php | ||
page-securesharing.php | ||
page-security.php | ||
page-sharing.php | ||
page-speaking.php | ||
page-spreedbox.php | ||
page-storage-whitepapersubmit.php | ||
page-storage.php | ||
page-support.php | ||
page-team.php | ||
page-thanks.php | ||
page-thankyou.php | ||
page-theming.php | ||
page-threat-model.php | ||
page-trademarks.php | ||
page-translation.php | ||
page-tuberlin-whitepapersubmit.php | ||
page-user.php | ||
page-webrtc.php | ||
page-workflow.php | ||
page.php | ||
screenshot.png | ||
single.php | ||
strings.php | ||
template-custom.php | ||
users.php | ||
yarn.lock |
README.md
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
- 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
- Setup the repository
- Clone the repository in a folder of your choice
*
git clone git@github.com:nextcloud/nextcloud.com next
- 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' - 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 repository and click upload - Select Import
- Copy over
config.php.sample
toconfig.php
and adjust settings as necessary (defaults will work just fine for local environments) - In
Settings > Reading
assign a static front page of 'homepage' - In
Settings > Permalink
assign thePost name
setting
Development Process
- Fork the repository
- Setup your local development environment using the instructions above, changing the remote origin url
- Submit a pull request to master, on github once the feature/bugfix is complete (this is so we can test it on the staging server)
- After review (usually following one or two thumbs up), a developer will permit the merge into master
- Code will be pulled onto staging.nextcloud.com for testing (this has to be set up still but the goal is to have this work automatically)
- Once the test looks good, staging will be cloned over to nextcloud.com - this is handled by @jospoortvliet or the Nextcloud sysadmins including @LukasReschke
Notes
- Please don't commit straight into the master or live branches, these branches should remain as stable as possible, and changes should be discussed amongst the community.
- If you are chaning SCSS files during development, following command for automatic compilation is recommended:
sass --watch [location to scss files]