2751
Comment: more details about gitorious workflow added
|
3114
add svn to git step and make year generic
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* Clone this repo on gitorious https://gitorious.org/minidebconfindia/2011-mirror (go to that link and click on 'Clone repository' button. Now you will get clone of the original repo with write access. Now clone your clone on gitorious to your local system.) '''Preferred Method''' | * Anyone with commit access to above repo (praveen), can create a git-svn clone to minidebconfindia team repo on gitorious. Every year we should copy the old svn directory to a new svn directory (resulting in new git repos every year). Gitorious mirror will make updating easier as people can send changes as pull requests. * Clone this repo on gitorious (use current year instead on 201x) https://gitorious.org/mini debconfindia/201x-mirror (go to that link and click on 'Clone repository' button. Now you will get clone of the original repo with write access. Now clone your clone on gitorious to your local system.) '''Preferred Method''' |
Line 10: | Line 11: |
{{{ $ git clone git://gitorious.org/minidebconfindia/2011-mirror.git }}} | {{{ $ git clone git://gitorious.org/minidebconfindia/201x-mirror.git }}} |
Line 14: | Line 15: |
{{{ $ svn checkout svn://anonscm.debian.org/debconf-data/in2011.mini }}} | {{{ $ svn checkout svn://anonscm.debian.org/debconf-data/in201x.mini }}} |
Line 19: | Line 20: |
* Make an entry in /etc/hosts to resolve in2011.mini.debconf.org to 127.0.0.1 (localhost) as given below | * Make an entry in /etc/hosts to resolve in201x.mini.debconf.org to 127.0.0.1 (localhost) as given below |
Line 21: | Line 22: |
{{{127.0.0.1 local.in2011.mini.debconf.org}}} | {{{127.0.0.1 local.in201x.mini.debconf.org}}} |
Line 25: | Line 26: |
<VirtualHost local.in2011.mini.debconf.org:80> | <VirtualHost local.in201x.mini.debconf.org:80> |
Line 28: | Line 29: |
DocumentRoot /var/www/in2011.mini/website/ | DocumentRoot /var/www/in201x.mini/website/ |
Line 33: | Line 34: |
<Directory /var/www/in2011.mini/website/> | <Directory /var/www/in201x.mini/website/> |
Line 64: | Line 65: |
* Make your changes and test it at http://local.in2011.mini.debconf.org | * Make your changes and test it at http://local.in201x.mini.debconf.org |
Line 66: | Line 67: |
* merge request to https://gitorious.org/minidebconfindia/2011-mirror (push your changes from your local clone to your gitorious clone, go to your gitorious url and click on merge request) | * merge request to https://gitorious.org/minidebconfindia/201x-mirror (push your changes from your local clone to your gitorious clone, go to your gitorious url and click on merge request) |
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://mini.debconf.org/india
- Site data (HTML + CSS + SSI) can be downloaded via SVN checkout (copy it to /var/www)
- Anyone with commit access to above repo (praveen), can create a git-svn clone to minidebconfindia team repo on gitorious. Every year we should copy the old svn directory to a new svn directory (resulting in new git repos every year). Gitorious mirror will make updating easier as people can send changes as pull requests.
Clone this repo on gitorious (use current year instead on 201x) https://gitorious.org/mini debconfindia/201x-mirror (go to that link and click on 'Clone repository' button. Now you will get clone of the original repo with write access. Now clone your clone on gitorious to your local system.) Preferred Method
or
$ git clone git://gitorious.org/minidebconfindia/201x-mirror.git
or
$ svn checkout svn://anonscm.debian.org/debconf-data/in201x.mini
Note: If you are planning to make changes, use your git clone at gitorious. 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 in201x.mini.debconf.org to 127.0.0.1 (localhost) as given below
127.0.0.1 local.in201x.mini.debconf.org
- Configure a virtual host in apache for this. Create a file /etc/apache2/sites-available/minidebconfindia
<VirtualHost local.in201x.mini.debconf.org:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/in201x.mini/website/ <Directory /> Options FollowSymLinks +Includes AllowOverride None </Directory> <Directory /var/www/in201x.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.in201x.mini.debconf.org
- After making all the changes send it as
merge request to https://gitorious.org/minidebconfindia/201x-mirror (push your changes from your local clone to your gitorious clone, go to your gitorious url and click on merge request)
svn diff to in.mini list (currently Kartik Mistry and Praveen Arimbrathodiyil have commit access to this repo).