<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installing Chitkar</title><link>https://sourceforge.net/p/chitkar/wiki/Installing%2520Chitkar/</link><description>Recent changes to Installing Chitkar</description><atom:link href="https://sourceforge.net/p/chitkar/wiki/Installing%20Chitkar/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 13 Mar 2014 06:51:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/chitkar/wiki/Installing%20Chitkar/feed" rel="self" type="application/rss+xml"/><item><title>Installing Chitkar modified by Jason Cleeland</title><link>https://sourceforge.net/p/chitkar/wiki/Installing%2520Chitkar/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,33 +1,38 @@
-INSTALLATION
+****INSTALLATION****

-Setup Chitkar on the Local Server
+**Setup Chitkar on the Local Server**

 Ensure you have the minimum requirements for Yii (including PDO enabled in PHP)
 Download chitkar files from repository on sourceforge (SVN checkout is best to keep up to date)
 https://svn.code.sf.net/p/chitkar/code/ chitkar
 Create a database in your local MySQL server called “chitkar”. Import the db scheme from /chitkar/protected/data/schema.mysql.sql
 Edit /chitkar/protected/config/main.php and enter the username and password required in your local MySQL server here:
-        'db'=&gt;array(
-            'connectionString' =&gt; 'mysql:host=localhost;dbname=chitkar',
-         'emulatePrepare' =&gt; true,
-         'username' =&gt; 'username',
-         'password' =&gt; 'password',
-         'charset' =&gt; 'utf8',
-     ),
+
+~~~~~~
+'db'=&gt;array(
+        'connectionString' =&gt; 'mysql:host=localhost;dbname=chitkar',
+        'emulatePrepare' =&gt; true,
+        'username' =&gt; 'username',
+        'password' =&gt; 'password',
+        'charset' =&gt; 'utf8',
+),
+~~~~~~
+
 Edit /chitkar/protected/config/console.php and enter the same details in the db array
 Login to chitkar as “admin”/”admin” and go to the Admin section, then go to the Users section.
 Create an administrator user (this MUST happen first, since as soon as any user exists, the default admin/admin password will stop working). Admin users have “Yes” to all user options.
 Logout, then log back in as your new admin user.
 Go to Admin section, then go to the Settings section. Update all the required settings.

-Set up cron jobs
+**Set up cron jobs**

 Your local server’s scheduling tool (cron or at) should be setup to run two jobs on a regular (as in every 5 minutes or so) basis. These are the queue processing job and the remoteStats processing job. For a linux server, the following commands will do the trick:

+~~~~~~
 */5 * * * * /usr/bin/php /var/www/chitkar/cron.php queue
 */2 * * * * /usr/bin/php /var/www/chitkar/cron.php remoteStats
+~~~~~~

-
-Set up the remote webserver
+**Set up the remote webserver**

 On your public web server create a directory called “chitkar” and copy all the files from /chitkar/website into it. Make sure that the permissions on this directory allow php to create/delete/edit files.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Cleeland</dc:creator><pubDate>Thu, 13 Mar 2014 06:51:47 -0000</pubDate><guid>https://sourceforge.net76ca6e89daaa877ef08e2c31a0e6c3b86dd833fa</guid></item><item><title>Installing Chitkar modified by Jason Cleeland</title><link>https://sourceforge.net/p/chitkar/wiki/Installing%2520Chitkar/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;INSTALLATION&lt;/p&gt;
&lt;p&gt;Setup Chitkar on the Local Server&lt;/p&gt;
&lt;p&gt;Ensure you have the minimum requirements for Yii (including PDO enabled in PHP)&lt;br /&gt;
Download chitkar files from repository on sourceforge (SVN checkout is best to keep up to date)&lt;br /&gt;
&lt;a href="https://svn.code.sf.net/p/chitkar/code/"&gt;https://svn.code.sf.net/p/chitkar/code/&lt;/a&gt; chitkar&lt;br /&gt;
Create a database in your local MySQL server called “chitkar”. Import the db scheme from /chitkar/protected/data/schema.mysql.sql&lt;br /&gt;
Edit /chitkar/protected/config/main.php and enter the username and password required in your local MySQL server here:&lt;br /&gt;
        'db'=&amp;gt;array(&lt;br /&gt;
            'connectionString' =&amp;gt; 'mysql:host=localhost;dbname=chitkar',&lt;br /&gt;
         'emulatePrepare' =&amp;gt; true,&lt;br /&gt;
         'username' =&amp;gt; 'username',&lt;br /&gt;
         'password' =&amp;gt; 'password',&lt;br /&gt;
         'charset' =&amp;gt; 'utf8',&lt;br /&gt;
     ),&lt;br /&gt;
Edit /chitkar/protected/config/console.php and enter the same details in the db array&lt;br /&gt;
Login to chitkar as “admin”/”admin” and go to the Admin section, then go to the Users section.&lt;br /&gt;
Create an administrator user (this MUST happen first, since as soon as any user exists, the default admin/admin password will stop working). Admin users have “Yes” to all user options.&lt;br /&gt;
Logout, then log back in as your new admin user.&lt;br /&gt;
Go to Admin section, then go to the Settings section. Update all the required settings.&lt;/p&gt;
&lt;p&gt;Set up cron jobs&lt;/p&gt;
&lt;p&gt;Your local server’s scheduling tool (cron or at) should be setup to run two jobs on a regular (as in every 5 minutes or so) basis. These are the queue processing job and the remoteStats processing job. For a linux server, the following commands will do the trick:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;/5 * &lt;/em&gt; * &lt;em&gt; /usr/bin/php /var/www/chitkar/cron.php queue&lt;br /&gt;
&lt;/em&gt;/2 * &lt;em&gt; * &lt;/em&gt; /usr/bin/php /var/www/chitkar/cron.php remoteStats&lt;/p&gt;
&lt;p&gt;Set up the remote webserver&lt;/p&gt;
&lt;p&gt;On your public web server create a directory called “chitkar” and copy all the files from /chitkar/website into it. Make sure that the permissions on this directory allow php to create/delete/edit files.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Cleeland</dc:creator><pubDate>Thu, 13 Mar 2014 05:57:10 -0000</pubDate><guid>https://sourceforge.net70fe4f04b952ac28359014257ab51c64956c80db</guid></item></channel></rss>