Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:silverstripe-australia/silvertwit

  • Loading branch information...
commit 32890a21ced2afe0eed75443fb0a0f73c49ec4c4 2 parents fe3a43a + 77d0c72
Marcus Nyeholt authored
Showing with 18 additions and 23 deletions.
  1. +18 −23 README.md
View
41 README.md
@@ -1,4 +1,3 @@
-
# SilverTwit
A social networking platform in SilverStripe
@@ -14,38 +13,34 @@ A social networking platform in SilverStripe
* build/configs/silverstripe/htaccess.sample to ./.htaccess (note the extra . there)
* Edit mysite/local.conf.php to reflect appropriate DB settings. The following should work for SQLite
- <?php
-
- /*
- * Include any local instance specific configuration here - typically
- * this includes any database settings, email settings, etc that change
- * between installations.
- */
+<pre>
- global $databaseConfig;
- $databaseConfig = array(
- "type" => "SQLiteDatabase",
- "server" => "localhost",
- "username" => "",
- "password" => "",
- "database" => "silverstripe",
- );
+ global $databaseConfig;
+ $databaseConfig = array(
+ "type" => "SQLiteDatabase",
+ "server" => "localhost",
+ "username" => "",
+ "password" => "",
+ "database" => "silverstripe",
+ );
- Security::setDefaultAdmin('admin', 'admin');
- // Email::setAdminEmail('admin@example.org');
- define('SS_LOG_FILE', dirname(__FILE__).'/'.basename(dirname(dirname(__FILE__))).'.log');
+ Security::setDefaultAdmin('admin', 'admin');
+ // Email::setAdminEmail('admin@example.org');
+ define('SS_LOG_FILE', dirname(__FILE__).'/'.basename(dirname(dirname(__FILE__))).'.log');
+</pre>
* Edit mysite/local.conf.php and update the 'defaultAdmin' settings
* Create the assets/ directory
* Create an _ss_environment.php file in the root folder with the following
- <?php
- // Set the $_FILE_MAPPING for running the test cases, it's basically a fake but useful
- global $_FILE_TO_URL_MAPPING;
- $_FILE_TO_URL_MAPPING[dirname(__FILE__)] = 'http://localhost';
+<pre>
+ // Set the $_FILE_MAPPING for running the test cases, it's basically a fake but useful
+ global $_FILE_TO_URL_MAPPING;
+ $_FILE_TO_URL_MAPPING[dirname(__FILE__)] = 'http://localhost';
+</pre>
* Run dev/build : note that you will NEED to run with '?disable_perms=1' as a parameter to make sure the restrictedobjects module doesn't interfere with things
* All done!
Please sign in to comment.
Something went wrong with that request. Please try again.