This repository was archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Development
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
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>"
to get environment up and running
cd kohadev/docker-compose && source docker-compose.env && docker-compose -f common.yml -f dev.yml up -d
for more info on configuration and ENV vars available read Environment and Configuration