[Koha-bugs] [Bug 10337] Add a script to insert all sample data automatically

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 18 09:45:38 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10337

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56607|0                           |1
        is obsolete|                            |

--- Comment #10 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 56614
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56614&action=edit
Bug 10337: Add a script to populate devs' DBs with sample data

Executing the installer process and inserting all the sample data take a
lot of clics and time.
The idea of this script is to provide a quick way to insert all the
sample data easily to get a working Koha install asap.

Test plan:
- Set your database config to a non-existent DB
- Execute perl misc/devel/populate_db.pl
You will get an error
- Create an empty DB
- Execute perl misc/devel/populate_db.pl
It will insert all the MARC21 sample data
- Execute perl misc/devel/populate_db.pl
You will get an error because the DB is not empty (systempreferences and
borrowers tables)

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list