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,35 @@
# $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.project = nestedset
propel.database = sqlite
propel.database.url = sqlite:/var/tmp/nestedset.db
# For MySQL or Oracle, you also need to specify username & password
# propel.database.user = [db username]
# propel.database.password = [db password]
# Note that if you do not wish to specify the database (e.g. if you
# are using multiple databses) you can use the @DB@ token which
# will be replaced with a database at runtime.
# E.g.: propel.database.url = sqlite://localhost/./test/@DB@.db
# This will work for the datadump and the insert-sql tasks.
# propel.database.createUrl = (doesn't aply for SQLite, since db is auto-created)
propel.targetPackage = nestedset
# The unit tests need to test this stuff
propel.addGenericAccessors = true
propel.addGenericMutators = true
# Use the new PHP 5.2 DateTime class
propel.useDateTimeClass = true

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database name="treetest" defaultIdMethod="native">
<table name="test" treeMode="NestedSet" description="Test">
<column
name="id"
required="true"
primaryKey="true"
autoIncrement="true"
type="INTEGER"
description="Node Id"/>
<column
name="left"
required="true"
nestedSetLeftKey="true"
type="INTEGER"
description="Node Left Key"/>
<column
name="right"
required="true"
nestedSetRightKey="true"
type="INTEGER"
description="Node Right Key"/>
<column
name="label"
required="true"
type="VARCHAR"
size="10"
description="Label"/>
<unique name="pk">
<unique-column name="label"/>
</unique>
<index name="left">
<index-column name="left"/>
</index>
<index name="right">
<index-column name="right"/>
</index>
</table>
</database>

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-nestedset</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="nestedset">
<datasource id="nestedset">
<!-- 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/nestedset.db</dsn>
<username></username>
<password></password>
</connection>
</datasource>
</datasources>
</propel>
</config>