summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4adf3d2)
Install propel and phing locally using Composer.
propel/build/
propel/schema-transformed.xml
propel/runtime-conf.xml
propel/build/
propel/schema-transformed.xml
propel/runtime-conf.xml
+vendor/
+composer.lock
+composer.phar
-all:
- cd propel && propel-gen
+all: composer.phar
+ php composer.phar install
+ chmod 755 vendor/propel/propel1/generator/bin/phing.php
+ cd propel && ../vendor/propel/propel1/generator/bin/propel-gen
+
+composer.phar:
+ curl -sS https://getcomposer.org/installer | php
--- /dev/null
+{
+ "name": "readifood/readifood",
+ "description": "Readifood",
+ "require": {
+ "propel/propel1": "1.6.9"
+ }
+}
$root = join(DIRECTORY_SEPARATOR, array($_SERVER['DOCUMENT_ROOT'], ".."));
$propel_root = join(DIRECTORY_SEPARATOR, array($root, "propel"));
$lib_root = join(DIRECTORY_SEPARATOR, array($root, "lib"));
$root = join(DIRECTORY_SEPARATOR, array($_SERVER['DOCUMENT_ROOT'], ".."));
$propel_root = join(DIRECTORY_SEPARATOR, array($root, "propel"));
$lib_root = join(DIRECTORY_SEPARATOR, array($root, "lib"));
- require_once(join(DIRECTORY_SEPARATOR, array("propel", "Propel.php")));
+ require_once(join(DIRECTORY_SEPARATOR, array($root, "vendor", "autoload.php")));
Propel::init("$propel_root/build/conf/$propel_project-conf.php");
set_include_path(join(PATH_SEPARATOR, array(join(DIRECTORY_SEPARATOR, array($propel_root, "build", "classes")), get_include_path())));
Propel::init("$propel_root/build/conf/$propel_project-conf.php");
set_include_path(join(PATH_SEPARATOR, array(join(DIRECTORY_SEPARATOR, array($propel_root, "build", "classes")), get_include_path())));