Permalink
Browse files

Add support for docker based devenv

- Add devenv clone target to Makefile
- Change default database name for mysql tests
- Add copy of dist config files to devenv target in Makefile

Revert dist configs
  • Loading branch information...
pfrischmuth committed Jul 21, 2016
1 parent 89e7cf8 commit 055fe8837793d647e41122132bfec698d5a2cbbf
Showing with 7 additions and 2 deletions.
  1. +5 −0 Makefile
  2. +2 −2 application/tests/config.ini.dist
View
@@ -88,6 +88,11 @@ composer-install:
endif
# test stuff
devenv:
git clone "https://github.com/pfrischmuth/ontowiki-devenv.git" devenv
cp -i devenv/config.ini.dist ./config.ini
cp -i devenv/config-test.ini.dist ./application/tests/config.ini
test-directories:
rm -rf application/tests/cache application/tests/unit/cache application/tests/integration/cache
mkdir -p application/tests/cache application/tests/unit/cache application/tests/integration/cache
@@ -6,11 +6,11 @@
store.backend = zenddb ; zenddb, virtuoso, multi
store.zenddb.dbname = erfurt_TEST ; needs to end with _TEST
store.zenddb.dbname = ow_TEST ; needs to end with _TEST
store.zenddb.username = php
store.zenddb.password = php
store.zenddb.dbtype = mysql ; mysql
;store.zenddb.host = localhost ; default is localhost
store.zenddb.host = localhost ; default is localhost
store.virtuoso.dsn = VOS_TEST ; needs to end with _TEST
store.virtuoso.username = dba

0 comments on commit 055fe88

Please sign in to comment.