You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benjamin Rokseth edited this page Mar 29, 2017
·
2 revisions
To use development mode, we recommend to use docker-compose and, optionally, Makefile.
A quick setup of development:
KOHAENV=dev make provision
Makefile
run make help for all targets.
Targets specific to development mode:
make dump_kohadb : Dumps Koha database to /tmp/kohadump.sql
restore_kohadb : Restores Koha database from /tmp/kohadump.sql
delete_mysql_server : Stops and removes mysql server
delete_kohadb : stop mysql_server and deletes Koha database entirely
load_testdata : Load optional test data
reset_git : Resets git by removing and doing new shallow clone
reset_git_hard : Resets git by removing and doing new shallow clone
patch : Apply patches from bugzilla, needs PATCHES="<bugid> <bugid> <bugid>"
Docker compose
to get environment up and running
cd kohadev/docker-compose && source docker-compose.env && docker-compose -f common.yml -f dev.yml up -d