Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (21 sloc) 992 Bytes
SETUP
1. Create local MySQL user and database
2. Import app/config/schema/glitch.sql into the database you've just created.
3. Copy app/config/database.sample.php to app/config/database.php and edit line 80 - 82.
'login' => '', // Database username
'password' => '', // Database password
'database' => '', // Database
4. Copy app/config/core.sample.php to app/config/core.php and edit...
Line 204: Configure::write('Security.salt', '');
Add a random 40 byte string of Numbers and mixed case letters
Line 209: Configure::write('Security.cipherSeed', '');
Add a random 29 digit number
Line 322-325: Obtain an API Key from http://api.glitch.com/keys/new/ and fill the blanks
Configure::write('Glitch.api', array(
'key' => '',
'secret' => '',
));
(Optional) Line 328: Uncomment and add a Google Analytics account number
Configure::write('GoogleAnalytics.account_number', '');
5. Deploy somewhere in your webroot
6. Make sure app/tmp is writable