Tree [e55b03] master /
History



File Date Author Commit
.openshift 2012-06-18 Kit Plummer Kit Plummer [e55b03] sed out 0.0.0.0 for the internal ip
Allura 2012-06-18 Kit Plummer Kit Plummer [58021b] remove port from base_url
AlluraTesting 2012-04-25 Dave Brondsema Dave Brondsema [bce604] [#4103] Mock SMTP during all functional tests
ForgeBlog 2012-05-21 Cory Johns Cory Johns [2c7dea] [#4181] Temporarily disable RSS feed option on ...
ForgeChat 2012-04-25 Dave Brondsema Dave Brondsema [bce604] [#4103] Mock SMTP during all functional tests
ForgeDiscussion 2012-05-09 Rick Copeland Rick Copeland [e6846e] [#3940] Make forum markdown description display...
ForgeDownloads 2012-04-25 Dave Brondsema Dave Brondsema [bce604] [#4103] Mock SMTP during all functional tests
ForgeGit 2012-05-16 Cory Johns Cory Johns [081972] [#4116] DIVs inside PREs are a no-no
ForgeLink 2012-04-25 Dave Brondsema Dave Brondsema [bce604] [#4103] Mock SMTP during all functional tests
ForgeTracker 2012-05-15 bolkimen bolkimen [b99417] [#3019] ticket:53 replace patience with difflib
ForgeWiki 2012-05-15 bolkimen bolkimen [b99417] [#3019] ticket:53 replace patience with difflib
NoWarnings 2011-02-01 Wolf Wolf [23c644] License is Apache 2
diy 2012-06-07 Kit Plummer Kit Plummer [607cae] init allura for openshift
fuse 2011-11-19 Rick Copeland Rick Copeland [943e3a] Fix FUSE filesystem to handle path correctly
misc 2012-06-07 Kit Plummer Kit Plummer [607cae] init allura for openshift
scripts 2012-05-29 Cory Johns Cory Johns [d23df1] [#4118] Include reason for failure on migration...
solr_config 2012-06-07 Kit Plummer Kit Plummer [27d1de] solr configuration file
vagrant 2012-04-24 Dave Brondsema Dave Brondsema [9af2cf] [#3907] improve process grepping, and little mo...
.gitattributes 2011-03-13 Wolf Wolf [4f057b] make git-diff hunk headers python-aware
.gitignore 2011-10-06 Rick Copeland Rick Copeland [68a7d1] [#2936] working on getting environment more sane
.gitmodules 2009-12-01 Wolf Wolf [e4830b] Remove Ming submodule
CONTRIBUTING 2011-02-08 Wolf Wolf [7bca86] point CONTRIBUTING at the public support bug tr...
LICENSE 2011-02-01 Wolf Wolf [23c644] License is Apache 2
Makefile 2012-02-10 Yaroslav Luzin Yaroslav Luzin [c49955] ticket:2 Added a simple Makefile required for g...
Makefile.def.buildbot 2012-02-24 Yaroslav Luzin Yaroslav Luzin [6a2bc2] ticket:2 Upgraded fix for pysvn
README 2012-06-07 Kit Plummer Kit Plummer [607cae] init allura for openshift
README.markdown 2012-04-30 Dave Brondsema Dave Brondsema [3b4e13] [#4140] update README scm dir to match dev.ini'...
coverage-report-all.sh 2011-01-27 Paul Sokolovsky Paul Sokolovsky [397c72] [#1237] Add script to produce combined coverage...
rebuild.bash 2011-03-30 Paul Sokolovsky Paul Sokolovsky [76fa99] Remove reference to no longer existing pyforge ...
requirements-common.txt 2012-05-21 Tim Van Steenburgh Tim Van Steenburgh [c3736d] Bump TimerMiddleware version.
requirements-sf.txt 2012-05-16 Dave Brondsema Dave Brondsema [e51bd5] [#4181] remove html2text from requirements-sf.t...
requirements.txt 2012-03-28 Dave Brondsema Dave Brondsema [268dc0] rename requirements-dev.txt->requirements.txt
run_tests 2011-04-28 Dave Brondsema Dave Brondsema [f6375a] remove unused solr bootstrap from run_tests

Read Me

Feel free to change or remove this file, it is informational only.

Get started
===========
1. Add framework of choice to your repo.
2. Modify .openshift/action_hooks/start to start your application.
   The application is required to bind to $OPENSHIFT_INTERNAL_IP:8080.
3. Modify .openshift/action_hooks/stop to stop your application.
4. Commit and push your changes.

Repo layout
===========
static/ - Externally exposed static content goes here
../data - For persistent data (full path in environment var: OPENSHIFT_DATA_DIR)
.openshift/action_hooks/start - Script that gets run to start your application
.openshift/action_hooks/stop - Script that gets run to stop your application
.openshift/action_hooks/pre_build - Script that gets run every git push before the build
.openshift/action_hooks/build - Script that gets run every git push as part of the build process (on the CI system if available)
.openshift/action_hooks/deploy - Script that gets run every git push after build but before the app is restarted
.openshift/action_hooks/post_deploy - Script that gets run every git push after the app is restarted


Notes about layout
==================
Please leave the static directory in place (alter but do not delete) but feel
free to create additional directories if needed.

Note: Every time you push, everything in your remote repo dir gets recreated
please store long term items (like an sqlite database) in ../data which will
persist between pushes of your repo.


Environment Variables
=====================

OpenShift provides several environment variables to reference for ease
of use.  The following list are some common variables but far from exhaustive:

    $_ENV['OPENSHIFT_INTERNAL_IP']  - IP Address assigned to the application
    $_ENV['OPENSHIFT_GEAR_NAME']  - Application name
    $_ENV['OPENSHIFT_GEAR_DIR']   - Application dir
    $_ENV['OPENSHIFT_DATA_DIR']  - For persistent storage (between pushes)
    $_ENV['OPENSHIFT_TMP_DIR']   - Temp storage (unmodified files deleted after 10 days)

To get a full list of environment variables, simply add a line in your
.openshift/action_hooks/build script that says "export" and push.


Additional information
======================

Link to additional information will be here, when we have it :)