To setup a dev environment for the Burning Flipside Web Environment please do the following:
- Goto /var/www
- Run sudo mkdir common
- Run sudo chown `whoami`:`whoami` common
- Run git clone https://github.com/BurningFlipside/CommonCode.git common
- Goto /var/www/html
- Run sudo mkdir profiles
- Run sudo chown `whoami`:`whoami` profiles
- Run git clone https://github.com/BurningFlipside/Profiles.git profiles
- Run sudo mkdir secure
- Run sudo chown `whoami`:`whoami` secure
- Run git clone https://github.com/BurningFlipside/SecureFramework.git secure
- Goto /var/www/common, /var/www/html/profiles, /var/www/html/secure and run git submodule update --init in each of the three directories as well
- Goto /var/www
- Run sudo mkdir secure_settings
- Run sudo chown `whoami`:`whoami` secure_settings
- Use the following as class.FlipsideSettings.php in the secure_settings folder:
<?php
class FlipsideSettings
{
public static $global = array(
'use_minified' => false,
'use_cdn' => false,
'login_url' => '/profiles/login.php'
);
public static $authProviders = array(
'Auth\\OAuth2\\FlipsideAuthenticator' => array(
'current' => true,
'pending' => true,
'supplement' => false
)
);
public static $sites = array(
'Profiles'=>'https://profiles.burningflipside.com',
'WWW'=>'http://www.burningflipside.com',
'Pyropedia'=>'http://wiki.burningflipside.com',
'Secure'=>'https://secure.burningflipside.com'
);
}
/* vim: set tabstop=4 shiftwidth=4 expandtab: */
?>
- Run sudo /var/www/common/cron.sh