<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Developer Environment</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>Recent changes to Developer Environment</description><atom:link href="https://sourceforge.net/p/icbug/wiki/Developer%20Environment/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 04 Apr 2012 19:56:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/icbug/wiki/Developer%20Environment/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Developer Environment modified by hshyket</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v26 
+++ v27 
@@ -102,6 +102,7 @@
     + Perl6::Junction
     + Term::ReadLine::Perl
     + Config::General
+    + File::Find::Rule
 
 + Rename the file icbug.template.conf to icbug.conf and update the file contents
 	Change all the values contained within [[ ]] to application values.  You must make sure that the proper database credentials are set as well as the application id, consumer secret, etc for Facebook and Twitter (for user registration).  Also the Google Maps application id must be set
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hshyket</dc:creator><pubDate>Wed, 04 Apr 2012 19:56:36 -0000</pubDate><guid>https://sourceforge.neteb102c1c90bc0bb6d6da5a27389092c197bbf367</guid></item><item><title>WikiPage Developer Environment modified by hshyket</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v25 
+++ v26 
@@ -79,6 +79,9 @@
     + Catalyst::Engine::Apache
     + Catalyst::Model::DBIC::Schema
     + Catalyst::View::JSON
+    + Catalyst::View::Email
+    + Catalyst::View::Email::Template
+    + Catalyst::Helper::Email::Template
     + DBIx::Class::TimeStamp
     + DBIx::Class:EncodedColumn
     + DBD::Pg (For this module, make sure that the database is installed.  Also, you may need to set the location of the pg_config in your environment variables).
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hshyket</dc:creator><pubDate>Thu, 22 Dec 2011 20:43:51 -0000</pubDate><guid>https://sourceforge.net8dff2c7f5890d97b553ed38adc326f71c8626fab</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v24 
+++ v25 
@@ -173,7 +173,7 @@
     
 + move over the new files from /usr/local/lib to /usr/lib
 
-**Assigning Privileges***
+**Assigning Privileges**
 
 You may want to create a user for your database who does not have superuser privileges. For example, suppose that you want the application to interface with the database using a user named "icbug_user". For this to work, it is necessary to assign icbug_user with privileges for all visible relations, sequences, and functions. The following should accomplish this:
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Tue, 11 Oct 2011 17:56:52 -0000</pubDate><guid>https://sourceforge.net25c6b3f621c128821fe9e90e92249ea31405637e</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v23 
+++ v24 
@@ -177,26 +177,25 @@
 
 You may want to create a user for your database who does not have superuser privileges. For example, suppose that you want the application to interface with the database using a user named "icbug_user". For this to work, it is necessary to assign icbug_user with privileges for all visible relations, sequences, and functions. The following should accomplish this:
 
-&lt;code&gt;
-psql -U postgres -d icbug
-CREATE USER icbug_user WITH PASSWORD 'myPassword';
+	psql -U postgres -d icbug
+	CREATE USER icbug_user WITH PASSWORD 'myPassword';
+	
+	\a
+	\t
+	\o /tmp/grant_privileges
+	SELECT 'GRANT ALL PRIVILEGES ON TABLE ' || c.relname || ' TO icbug_user;' 
+	FROM pg_catalog.pg_class c 
+	LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
+	WHERE relkind = 'r' 
+	AND n.nspname NOT IN ('pg_catalog', 'pg_toast') 
+	AND pg_catalog.pg_table_is_visible(c.oid);
+	SELECT 'GRANT ALL PRIVILEGES ON SEQUENCE ' || c.relname || ' TO icbug_user;' 
+	FROM pg_catalog.pg_class c 
+	LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
+	WHERE relkind = 'S' 
+	AND n.nspname NOT LIKE 'pg_%' 
+	AND pg_catalog.pg_table_is_visible(c.oid);
+	GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO icbug_user;
+	\o
+	\i /tmp/grant_privileges
 
-\a
-\t
-\o /tmp/grant_privileges
-SELECT 'GRANT ALL PRIVILEGES ON TABLE ' || c.relname || ' TO icbug_user;' 
-FROM pg_catalog.pg_class c 
-LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
-WHERE relkind = 'r' 
-AND n.nspname NOT IN ('pg_catalog', 'pg_toast') 
-AND pg_catalog.pg_table_is_visible(c.oid);
-SELECT 'GRANT ALL PRIVILEGES ON SEQUENCE ' || c.relname || ' TO icbug_user;' 
-FROM pg_catalog.pg_class c 
-LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
-WHERE relkind = 'S' 
-AND n.nspname NOT LIKE 'pg_%' 
-AND pg_catalog.pg_table_is_visible(c.oid);
-GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO icbug_user;
-\o
-\i /tmp/grant_privileges
-&lt;/code&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Tue, 11 Oct 2011 17:55:09 -0000</pubDate><guid>https://sourceforge.netc5eea610fc7036ab45728288c3b229c4ffbc52e7</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v22 
+++ v23 
@@ -177,26 +177,26 @@
 
 You may want to create a user for your database who does not have superuser privileges. For example, suppose that you want the application to interface with the database using a user named "icbug_user". For this to work, it is necessary to assign icbug_user with privileges for all visible relations, sequences, and functions. The following should accomplish this:
 
-&lt;sql&gt;
+&lt;code&gt;
 psql -U postgres -d icbug
 CREATE USER icbug_user WITH PASSWORD 'myPassword';
 
 \a
 \t
 \o /tmp/grant_privileges
 SELECT 'GRANT ALL PRIVILEGES ON TABLE ' || c.relname || ' TO icbug_user;' 
 FROM pg_catalog.pg_class c 
 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
 WHERE relkind = 'r' 
 AND n.nspname NOT IN ('pg_catalog', 'pg_toast') 
 AND pg_catalog.pg_table_is_visible(c.oid);
 SELECT 'GRANT ALL PRIVILEGES ON SEQUENCE ' || c.relname || ' TO icbug_user;' 
 FROM pg_catalog.pg_class c 
 LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
 WHERE relkind = 'S' 
 AND n.nspname NOT LIKE 'pg_%' 
 AND pg_catalog.pg_table_is_visible(c.oid);
 GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO icbug_user;
 \o
 \i /tmp/grant_privileges
-&lt;/sql&gt;
+&lt;/code&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Tue, 11 Oct 2011 17:52:52 -0000</pubDate><guid>https://sourceforge.netf1ebc680a037cb35db703f82792e1cbcfa7ba938</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v21 
+++ v22 
@@ -172,3 +172,31 @@
 + sudo make install
     
 + move over the new files from /usr/local/lib to /usr/lib
+
+**Assigning Privileges***
+
+You may want to create a user for your database who does not have superuser privileges. For example, suppose that you want the application to interface with the database using a user named "icbug_user". For this to work, it is necessary to assign icbug_user with privileges for all visible relations, sequences, and functions. The following should accomplish this:
+
+&lt;sql&gt;
+psql -U postgres -d icbug
+CREATE USER icbug_user WITH PASSWORD 'myPassword';
+
+\a
+\t
+\o /tmp/grant_privileges
+SELECT 'GRANT ALL PRIVILEGES ON TABLE ' || c.relname || ' TO icbug_user;' 
+FROM pg_catalog.pg_class c 
+LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
+WHERE relkind = 'r' 
+AND n.nspname NOT IN ('pg_catalog', 'pg_toast') 
+AND pg_catalog.pg_table_is_visible(c.oid);
+SELECT 'GRANT ALL PRIVILEGES ON SEQUENCE ' || c.relname || ' TO icbug_user;' 
+FROM pg_catalog.pg_class c 
+LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace 
+WHERE relkind = 'S' 
+AND n.nspname NOT LIKE 'pg_%' 
+AND pg_catalog.pg_table_is_visible(c.oid);
+GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA public TO icbug_user;
+\o
+\i /tmp/grant_privileges
+&lt;/sql&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Tue, 11 Oct 2011 17:52:28 -0000</pubDate><guid>https://sourceforge.net35988f788dd0e28f9a705eee6522dabb4da217fe</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v20 
+++ v21 
@@ -119,7 +119,8 @@
         -right click on icbug_server.pl
         -this should start the server
 
-+ Alternatively, you can start the server from the command line.  Just browse to the icbug_server.pl folder and type icbug_server.pl -r.
++ Alternatively, you can start the server from the command line.  Just browse to the icbug_server.pl folder and type icbug_server.pl -r. For typical Eclipse installations, you can execute: 
+perl /Users/username/Documents/workspace/icbug/web/icbug/script/icbug_server.pl -r
 
 + Go to a web browser and type in http://{{{the IP address of your machine}}}:3000.  Your port 3000 should be kept open for the development server to work.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Tue, 11 Oct 2011 16:44:20 -0000</pubDate><guid>https://sourceforge.net2ec8fcf4e6553c51a21df0180f9121f8cd11fb0e</guid></item><item><title>WikiPage Developer Environment modified by hshyket</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v19 
+++ v20 
@@ -132,7 +132,7 @@
 
 Make sure to BACKUP the following files
 
-&gt;*/usr/lib/libltd (all files with that filename)
+&gt;/usr/lib/libltd (all files with that filename)
 /usr/lib/libiconv (all files with that filename).
 /usr/lib/libcharset(all files with that filename).
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hshyket</dc:creator><pubDate>Mon, 10 Oct 2011 19:38:25 -0000</pubDate><guid>https://sourceforge.net5de287bf2091d992291e60054f91eaed502d6418</guid></item><item><title>WikiPage Developer Environment modified by hshyket</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v18 
+++ v19 
@@ -132,8 +132,10 @@
 
 Make sure to BACKUP the following files
 
-&gt;*/usr/local/lib/libiconv
-+/usr/local/lib/libtool
+&gt;*/usr/lib/libltd (all files with that filename)
+/usr/lib/libiconv (all files with that filename).
+/usr/lib/libcharset(all files with that filename).
+
 
 Two system libraries need to be updated. The following instructions are run from the command line
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hshyket</dc:creator><pubDate>Mon, 10 Oct 2011 19:38:00 -0000</pubDate><guid>https://sourceforge.net92f2af5ff10463e98679c1fca8d3aa65806fad59</guid></item><item><title>WikiPage Developer Environment modified by William Piel</title><link>https://sourceforge.net/p/icbug/wiki/Developer%2520Environment/</link><description>&lt;pre&gt;--- v17 
+++ v18 
@@ -37,15 +37,22 @@
 
 + Download and install PostgreSQL.
 	http://www.postgresql.org/download/
-
+	For the Mac you can get PostgreSQL here: &lt;https://sourceforge.net/projects/pgsqlformac/files/&gt;
+
 + Download and install PostGIS.
 	http://postgis.refractions.net/download/ 
-	For the Mac you can get PostGIS here: http://www.kyngchaos.com/software:postgres
+	For the Mac you can get PostGIS here: &lt;http://www.kyngchaos.com/software:postgres&gt;
 	Which requires PROJ and GEOS frameworks: http://www.kyngchaos.com/software/frameworks
 
 + Create a new database (preferablly named icbug) from a PostGIS template.
 	-This can be done either in pgAdmin or through the shell
         -The shell script is createdb -T template_postgis icbug
+        -If you are using the packages for Mac listed above, you should check that the file /Library/PostgreSQL/lib/postgis.sql does not have "$libdir" placeholders in it. If it does, you should do a find-and-replace to change them all to the correct path, e.g. "/Library/PostgreSQL/lib"
+	-For those with Mac packages, create your database like so:
+createdb -U postgres -T template1 icbug
+psql -U postgres -d icbug -f /Library/PostgreSQL/share/contrib/postgis-1.5/postgis.sql
+psql -U postgres -d icbug -f /Library/PostgreSQL/share/contrib/postgis-1.5/spatial_ref_sys.sql
+
 
 + In the project files for iCBug, open the database/install/icbug.sql folder and run the script inside of your newly created Postgres database.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Piel</dc:creator><pubDate>Sat, 08 Oct 2011 03:38:28 -0000</pubDate><guid>https://sourceforge.netf113f8f0615a26dd7bd57b0ae0af0132d14e3305</guid></item></channel></rss>