Skip to content

Commit

Permalink
Support the open source web analytics app, piwik
Browse files Browse the repository at this point in the history
  • Loading branch information
lmacken committed Sep 30, 2011
1 parent 0e0708c commit de8a68e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ Deploy a variety of applications to the OpenShift cloud with a single command.
* dancer - A micro web application framework for Perl
* sinatra - A DSL for creating web applications in Ruby

[ Content Management ]
[ Applications ]
* drupal - A content-management platform
* wordpress - Blog tool and publishing platform
* mediawiki - A wiki engine
Expand All @@ -32,4 +32,5 @@ Deploy a variety of applications to the OpenShift cloud with a single command.
* reviewboard - A web-based code review tool
* pyblosxom - A lightweight file-based weblog system
* sqlbuddy - Web based MySQL administration
* piwik - Open source web analytics

3 changes: 3 additions & 0 deletions openshift-app-tester.py
Expand Up @@ -145,6 +145,9 @@ class TestSinatra(OpenShiftQuickstartTest, unittest.TestCase):
app = 'sinatra'
title = 'the time where this server lives is'

class TestPiwik(OpenShiftQuickstartTest, unittest.TestCase):
app = 'piwik'
title = 'Open Source Web Analytics'


if __name__ == '__main__':
Expand Down
3 changes: 3 additions & 0 deletions openshift-quickstarter
Expand Up @@ -52,6 +52,7 @@ quickstarts = {
'sqlbuddy': {'type': php, 'db': True, 'repo': openshift_alt_repo},
'dancer': {'type': perl, 'db': False, 'repo': openshift_repo},
'sinatra': {'type': ruby, 'db': False, 'repo': openshift_repo},
'piwik': {'type': php, 'db': True, 'repo': openshift_alt_repo},
}

run = lambda cmd, **kw: subprocess.call(cmd, shell=True, **kw)
Expand All @@ -73,6 +74,8 @@ if app['db']:
if quickstart == 'dancer':
run('git rm -fr perl', cwd=app_name)
run('git commit -a -m "remove stock perl dir to prepare for Dancer"', cwd=app_name)
elif quickstart == 'piwik':
run('rm -fr php/*', cwd=app_name)

# Pull in the appropriate quickstart template
run('git remote add upstream -m master %s' % app['repo'] % quickstart,
Expand Down

0 comments on commit de8a68e

Please sign in to comment.