Skip to content

vaidik/fudcon_website

Repository files navigation

This is the Drupal COD installation files for FUDCon Pune website.

The latest plan and status for the website can be found here:
https://fedoraproject.org/wiki/FUDCon:India_2011_website_devel

==============================================
Quick setup
==============================================
NOTE: For database setup see detailed steps below


First checkout the code:
$ git clone git://github.com/vaidikkp/fudcon_website.git fudcon.in
$ cd fudcon.in
$ mkdir sites/default/files/
$ chmod 775 sites/default/files/

Add appropriate settings for your site, esp. for database:
$ cp sites/default/default.settings.php sites/default/settings.php

Configure the theme as well ( this will apply for all the sites )
$ cd sites/all/themes/
$ git clone git://github.com/vaidikkp/fudcon_website_theme.git fudcon
$ cd ../../../


==============================================
Detailed setup
==============================================

 * Create a database using MySQL database dump
   file database_dump/fudconweb_devel3.sql.gz :

   [root@localhost]# mysql -u root 
   mysql> create database fudconweb_devel;
   mysql> -- appropriate grant statement here;
   mysql> Ctrl+D
   [root@localhost]# gzcat database_dump/fudconweb_devel3.sql.gz | mysql -u root fudconweb_devel

 * Copy all the files except database_dump folder to web root,
   for example to /var/www/myfedora.org for Apache
   just the way it is done for any other Drupal installation.

   cp * /var/www/myfedora.org
   rm -r /var/www/myfedora.org/database_dump

 * Get the FUDCon theme as described in sites/all/themes/README.txt

 * Create a virtual host entry in Apache configuration file
   /etc/httpd/conf/httpd.conf :

   <VirtualHost *:80>
    ServerAdmin root@localhost
    DocumentRoot /var/www/myfedora.org
    ServerName myfedora.org
    ServerAlias fudcon.myfedora.org *.myfedora.org
    RewriteEngine On
    RewriteOptions inherit
    CustomLog /var/log/httpd/myfedora.log combined
   </VirtualHost>


 * Update MySQL database settings in configuration file
   sites/default/settings.php:

   $db_url = 'mysqli://db_username:db_password@localhost/fudconweb_devel';

 * Make sure that following path is writable by the user runing
   your web server. This would be apache:

   chmod ug+w /var/www/myfedora.org/sites/default/files

 * Now you can login from the web interface:

   http://myfedora.org/


Some handy tips:
 * If needed you can reset admin password in MySQL:

   UPDATE users SET pass = md5('test123') WHERE uid = 1;

 * To create a new datbase dump:
   -- Clear log entry table
   DELETE FROM watchdog;
   ALTER TABLE watchdog AUTO_INCREMENT = 0;
   -- Clear cache tables
   DELETE FROM cache;

   [root@localhost]# mysqldump fudconweb_devel > fudconweb_devel.sql


External modules used:
  libraries-6.x-1.0.tar.gz
  openid-selector-1.3.zip
  openid_selector-6.x-1.5.tar.gz
  zen-6.x-2.1.tar.gz
  views_bulk_operations-6.x-1.11.tar.gz
  mass_contact
  profile_csv-6.x-1.1.tar.gz

Patches already applied:
  patches/openid_selector.patch


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages