Difference between revisions of "Ideas"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(In progress)
Line 22: Line 22:
 
*Install Drupal6
 
*Install Drupal6
 
**The SQL part of the wizard does not work.  You have manually edit [[File | sites/default/settings.php ]]
 
**The SQL part of the wizard does not work.  You have manually edit [[File | sites/default/settings.php ]]
 +
 +
change the line:
 +
 +
$db_url = 'mysql://username:password@localhost/databasename';
 +
 +
to
 +
 +
$db_url = 'pgsql://username:password@localhost/databasename';
 +
 +
{{Note| I had to use the full settings.  That is the wizard will not try and configure the changed url.  You must have the correct line.}}
 +
 +
A snippit of documentation code from http://drupal.org/files/issues/settings_4.patch :
 +
 +
+ * Specifying the database port:
 +
+ *
 +
+ * If you need to specify a port other than the default for your database
 +
+ * you can put it in the $db_url:
 +
+ * e.g:
 +
+ *  $db_url = 'mysql://username:password@localhost:3306/databasename';
 +
+ *  $db_url = 'mysqli://username:password@localhost:3306/databasename';
 +
+ *  $db_url = 'pgsql://username:password@localhost:5432/databasename';
 +
+ *
 +
  */

Revision as of 19:25, 28 December 2011

Concept

ideas.hackspherelabs.org - An idea storage and orginazation platform.

  • The site should allow one to brainstorm
  • You should be able to travel and link ideas
  • <idea> tag takes txt from other sites linked to the wiki
  • Site should allow paper sketches and such to be uploaded and notated

Temp Store

  • An array on top of the car with sensors and cameras intergrated into an in car computer.
  • A pair of sun glasses that allow you to stare at the sun, with improved image color, etc.

In progress

http://www.ideatorrent.org/docs/en/installation.txt.html

Steps

  • PHP/Apache/PostgreSQL
  • Test connection to database
psql -h localhost -p 5432 -U drupalapp -W -d drupaldb;
change the line:
$db_url = 'mysql://username:password@localhost/databasename';
to
$db_url = 'pgsql://username:password@localhost/databasename';
Note: I had to use the full settings. That is the wizard will not try and configure the changed url. You must have the correct line.

A snippit of documentation code from http://drupal.org/files/issues/settings_4.patch :

+ * Specifying the database port:
+ *
+ * If you need to specify a port other than the default for your database
+ * you can put it in the $db_url:
+ * e.g:
+ *   $db_url = 'mysql://username:password@localhost:3306/databasename';
+ *   $db_url = 'mysqli://username:password@localhost:3306/databasename';
+ *   $db_url = 'pgsql://username:password@localhost:5432/databasename';
+ *
  */