CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.

This commit is contained in:
Paul Baranowski 2011-04-14 18:55:04 -04:00
parent 514777e8d2
commit b11cbd8159
4546 changed files with 138 additions and 51 deletions

View file

@ -0,0 +1,26 @@
# $Id: build.properties 1260 2009-10-26 20:43:51Z francois $
#
# This is a project-specific build.properties file. The properties
# in this file override anything set in Propel's top-level build.properties
# file when *this* project is being built.
#
# See top-level build.properties-sample for explanation of configuration
# options.
#
# Because this file is included before the top-level build.properties file,
# you cannot refer to any properties set therein.
propel.targetPackage = treetest
propel.project = treetest
propel.database = sqlite
propel.database.url = sqlite:/var/tmp/treetest.db
#propel.database = mysql
#propel.database.url = mysql://localhost/test
#propel.database = codebase
#propel.database.url = odbc://localhost/Driver=CodeBaseOdbcStand;DBQ=test;?adapter=CodeBase

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- This new XML configuration format is the default format for properties
files. You can also used the old INI-based .properties format, but
support for this will be removed in next major Propel version. -->
<config>
<!--
#
# L O G G I N G
#
# We use PEAR-compatible Log for all Propel logging and we embed the
# log conf properties within our application configuration.
#
# type - the type of log (default 'file')
# name - the name of log or path to file. (default './propel.log')
# ident - the text used to identify the log messages
# level - the log level
# PEAR_LOG_EMERG 0
# PEAR_LOG_ALERT 1
# PEAR_LOG_CRIT 2
# PEAR_LOG_ERR 3
# PEAR_LOG_WARNING 4
# PEAR_LOG_NOTICE 5
# PEAR_LOG_INFO 6
# PEAR_LOG_DEBUG 7 <== DEFAULT
-->
<log>
<ident>propel-treetest</ident>
<level>7</level>
</log>
<!--
#
# P R O P E L P R O P E R T I E S
#
# Note that you can configure multiple datasources; for example if your
# project uses several databases.
-->
<propel>
<datasources default="treetest">
<datasource id="treetest">
<!-- the Propel adapter (usually same as phptype of connection DSN) -->
<adapter>sqlite</adapter>
<!-- Connection DSN. See PEAR DSN format for other supported parameters. -->
<connection>
<phptype>sqlite</phptype>
<dsn>sqlite:/var/tmp/treetest.db</dsn>
<username></username>
<password></password>
</connection>
</datasource>
</datasources>
</propel>
</config>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database name="treetest" defaultIdMethod="none">
<table name="test" treeMode="MaterializedPath" description="Test">
<column
name="npath"
required="true"
nodeKey="true"
nodeKeySep="."
primaryKey="true"
type="VARCHAR"
size="80"
description="Node Path"/>
<column
name="label"
required="true"
type="VARCHAR"
size="10"
description="Label"/>
<unique name="pk">
<unique-column name="label"/>
</unique>
<unique name="ck">
<unique-column name="npath"/>
</unique>
</table>
</database>