Skip to content

BurningFlipside/CommonCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burning Flipside Common Code

Build Status Coverage Status Code Climate Scrutinizer Code Quality Coverity Scan Build Status Apache 2 licensed

Burning Flipside Dev Enviornment Setup

To setup a dev environment for the Burning Flipside Web Environment please do the following:

  1. Goto /var/www
  2. Run sudo mkdir common
  3. Run sudo chown `whoami`:`whoami` common
  4. Run git clone https://github.com/BurningFlipside/CommonCode.git common
  5. Goto /var/www/html
  6. Run sudo mkdir profiles
  7. Run sudo chown `whoami`:`whoami` profiles
  8. Run git clone https://github.com/BurningFlipside/Profiles.git profiles
  9. Run sudo mkdir secure
  10. Run sudo chown `whoami`:`whoami` secure
  11. Run git clone https://github.com/BurningFlipside/SecureFramework.git secure
  12. 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
  13. Goto /var/www
  14. Run sudo mkdir secure_settings
  15. Run sudo chown `whoami`:`whoami` secure_settings
  16. 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: */
    ?>
  1. Run sudo /var/www/common/cron.sh

Releases

No releases published

Packages

No packages published

Languages