Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add support for docker based devenv
Browse files Browse the repository at this point in the history
- 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 22, 2016
1 parent 89e7cf8 commit 055fe88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions application/tests/config.ini.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 055fe88

Please sign in to comment.