Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K koha-docker
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • digibib
  • koha-docker
  • Wiki
  • Development

Last edited by Benjamin Rokseth Mar 29, 2017
Page history

Development

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

Environment and Configuration

Clone repository
  • Development
  • Environment and Configuration
  • Home
  • Patching or Building
  • Setup
  • System Overview
  • Troubleshooting
  • Using the Koha Docker image