NOTE: THIS IS NOW OBSOLETE - please request a site in #debconf-team irc for a wafer instance.
This document aims to help folks maintaining MiniDebConf India website
MiniDebConf India site data is hosted at debconf-data alioth project.
The site is available from http://in2016.mini.debconf.org/
Note: The server supports ONLY SHTML (Server Side Includes), CSS and ?JavaScript (No PHP, CGI or any other server side scripts)
- Site data can be downloaded via git clone (copy it to /var/www)
Clone this repo on github https://github.com/rigved/in2016.mini.debconf.org (go to that link and click on the 'Fork' repository button. Now you will get clone of the original repo with write access. Now clone the web/remote clone on github to your local system.) Preferred Method
Note: If you are planning to make changes, use your git clone at github. If you are new to git, then follow this tutorial to learn git.
For testing the site SSI needs to be enabled in Apache (see below for configuration)
- Make an entry in /etc/hosts to resolve in2016.mini.debconf.org to 127.0.0.1 (localhost) as given below
127.0.0.1 local.in2016.mini.debconf.org
- Configure a virtual host in apache for this. Create a file /etc/apache2/sites-available/minidebconfindia
<VirtualHost local.in2016.mini.debconf.org:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/in2016.mini/website/ <Directory /> Options +FollowSymLinks +Includes AllowOverride None </Directory> <Directory /var/www/in2016.mini/website/> Options +Indexes +FollowSymLinks +MultiViews +Includes AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
- Enable this site
# a2ensite minidebconfindia
- Enable includes
# a2enmod include
- Add following lines to /etc/apache2/mods-available/include.load
AddType text/html .shtml AddOutputFilter INCLUDES .shtml
- Add index.shtml to /etc/apache2/mods-available/dir.conf
- Restart apache
# /etc/init.d/apache2 restart
Make your changes and test it at http://local.in2016.mini.debconf.org
- After making all the changes send it as
merge request to https://github.com/rigved/in2016.mini.debconf.org (push your changes from your local clone to your github clone, go to your github url and click on merge request)
svn diff to in.mini list (currently Kartik Mistry and Praveen Arimbrathodiyil have commit access to this repo).