KDE.org/Local Setup: Difference between revisions

From KDE Community Wiki
Line 16: Line 16:


Make sure that it works by checking out localhost in a web browser.
Make sure that it works by checking out localhost in a web browser.
You can modify the default setup to do the development in your home directory if it isn't already set up like that. Read up on apache if you want to. Some hints:
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/kdesites
sudo a2ensite kdesites
The easiest will be to have all kde sites in a subfolder structure, such as:
~/public_html/kdesites/kde.org
~/public_html/kdesites/edu.kde.org
Thus point the apache setup to ''~/public_html/kdesites''


=== Setting up ===
=== Setting up ===

Revision as of 15:02, 9 July 2012

Introduction

This page will help you getting started improving the KDE websites. Currently all pages are being ported to WordPress since it offers a full CMS.

Prerequirements

You should have some things running on your machine already before starting. You will need:

  • Apache2 and the usual modules (php such as libapache2-mod-php5)
  • mysql

This could for example look like:

apt-get install apache2 libapache2-mod-php5 php5-mysql

Make sure that it works by checking out localhost in a web browser.


You can modify the default setup to do the development in your home directory if it isn't already set up like that. Read up on apache if you want to. Some hints:

sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/kdesites
sudo a2ensite kdesites

The easiest will be to have all kde sites in a subfolder structure, such as:

~/public_html/kdesites/kde.org
~/public_html/kdesites/edu.kde.org

Thus point the apache setup to ~/public_html/kdesites

Setting up

For new sites we use WordPress. You should get the latest WordPress release from: wordpress.org


The recommended setup is: