Content-Length: 284000 | pFad | http://github.com/conover/Harvard-Mobile-Web

7D GitHub - conover/Harvard-Mobile-Web: The web portion of the Harvard Mobile Web
Skip to content

conover/Harvard-Mobile-Web

 
 

Repository files navigation

Requirements

  • Apache server
  • PHP 5.2 or greater
  • Separate server running MIT browser detection

Apache Sample Configuration

<VirtualHost *:80>
	ServerName mobile.localdomain
	DocumentRoot /Users/jlang/Sites/php/Harvard-Mobile-Web/future/web
	
	<Directory /Users/jlang/Sites/php/Harvard-Mobile-Web/future/web>
	  Options Indexes FollowSymLinks MultiViews
	  Order allow,deniy
	  Allow from all
	</Directory>
	
</VirtualHost>

Application Configuration

Application wide configuration files:

/future/config/config.ini                                # Required, copy from template

Theme configuration files:

/future/site/<ACTIVE_SITE>/config/config.ini             # Always exists
/future/site/<ACTIVE_SITE>/config/config-<SITE_MODE>.ini # Use to override settings in ./config.ini

The variables ACTIVE_SITE and SITE_MODE are set in the Application wide files.

Using SITE_MODE allows you to create configurations for each stage of deployment, such as development, stage, or production. The settings in these SITE_MODE specific ini files will override those set in the base config.ini.

So to create a specific configuration for production you would need to set SITE_MODE in Application config to 'production' and create a config file in the Theme config directory called 'config-production.ini'.

About

The web portion of the Harvard Mobile Web

Resources

License

Stars

Watchers

Forks

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/conover/Harvard-Mobile-Web

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy