Permalink
Browse files

Installer Update

  • Loading branch information...
ctaulborg committed Jan 6, 2014
1 parent b33aa68 commit 33fca42a920754296cb97d3e43559e4a9b856704
Showing with 276 additions and 86 deletions.
  1. +17 −21 represent-map/include/db_example.php
  2. +49 −48 represent-map/index.php
  3. +191 −0 represent-map/installer.php
  4. +19 −17 represent-map/startupgenome_get.php
@@ -1,56 +1,55 @@
<?php
-
// mysql hostname
-$db_host = "";
+$db_host = "[db_host]";
// database name
-$db_name = "";
+$db_name = "[db_name]";
// database user name
-$db_user = "";
+$db_user = "[db_user]";
// database password
-$db_pass = "";
+$db_pass = "[db_pass]";
// admin username
-$admin_user = "admin";
+$admin_user = "[admin_user]";
// admin password
-$admin_pass = "letsgetmappy";
+$admin_pass = "[admin_pass]";
// StartupGenome.com integration (optional)
//
-// We recommend integrating your map with the StartupGenome project.
-// It's easy to setup, it will allow people to keep their profiles update
-// over time, and it can help you show the world how your startup community
-// is growing. StartupGenome also has a great interface for curating your
+// We recommend integrating your map with the StartupGenome project.
+// It's easy to setup, it will allow people to keep their profiles update
+// over time, and it can help you show the world how your startup community
+// is growing. StartupGenome also has a great interface for curating your
// map data.
//
// To use this feature, you need to be a curator for your city.
-// If you're not yet a curator, learn more here:
+// If you're not yet a curator, learn more here:
// http://www.startupgenome.com/curators/
-//
+//
// If you are already a curator, find your API key on your
// Startup Genome profile and enter it below. You can manage the markers
// on your map from the Startup Genome website, rather than using the
// built-in admin panel.
-//
+//
// You can turn on Startup Genome integration by changing
// $sg_enabled to "true".
$sg_enabled = false;
// Put your SG API code here
$sg_auth_code = '';
-
+
// Choose your map's location here. If you're not sure
// about this, check the URL on the Startup Genome website.
$sg_location = '';
// Examples:
// $sg_location = '/city/los-angeles-ca';
// $sg_location = '/state/ca-us';
// $sg_location = '/country/chile';
-
+
// We only check for new data from SG when people visit your map,
// or when you run "startupgenome_get.php?override=true" manually.
// You can limit how often this happens to avoid slow page loads.
@@ -60,7 +59,7 @@
// EventBrite.com integration (optional)
-//
+//
// Show events on the map? If set to "true", an event
// category will appear in the marker list, and you can
// run events_get.php in your browser (or a chron) to populate
@@ -73,7 +72,7 @@
// search eventbrite for these keywords
// use "+" for spaces
// e.g. 'startup', 'startups', 'demo+day'
- $eb_keywords = join("%20OR%20", array('startup', 'startups'));
+ $eb_keywords = join("%20OR%20", array('startup', 'startups'));
// specify city to search in and around
// example: Santa+Monica
@@ -121,7 +120,4 @@
Data from <a target='_blank' href='http://www.startupgenome.com'>StartupGenome</a>
";
}
-
-
-
?>
Oops, something went wrong.

0 comments on commit 33fca42

Please sign in to comment.