Bug 17534

Summary: Press a button and get a fresh DB
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED MOVED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 17529    
Bug Blocks:    
Attachments: Bug 17534: Add script to execute everything needed to get a fresh DB

Description Jonathan Druart 2016-11-01 16:17:06 UTC

    
Comment 1 Jonathan Druart 2016-11-01 16:19:33 UTC
Created attachment 57054 [details] [review]
Bug 17534: Add script to execute everything needed to get a fresh DB

Not sure it will be pushed, but at least it's shared.

It will populate the DB (with records), create a superlibrarian user and rebuild zebra
Comment 2 Josef Moravec 2016-11-02 15:18:25 UTC
I think it's useful for development and testing... When I am working with db changes I need new database relatively often :)
Comment 3 Jonathan Druart 2016-11-11 11:04:39 UTC
I have finally decided not to integrate these script into the Koha codebase but create a new project instead.

See https://github.com/joubu/koha-misc4dev