Skip to content
NERDZ test database. Use it for a quick develop of a nerdz-based application (plugins and so on). Add it as a submodule of your project if you want
PLpgSQL Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
initdb.sh
production_patch.sql
testdb.sql

README.md

nerdz-test-db

NERDZ test database.

Use it for a quick develop of a nerdz-based application (plugins and so on). Add it as a submodule of your project if you want.

Setup

Run ./initdb.sh existingRole db&username password Example: ./initdb.sh postgres test_db pass

Existing role postgres (superuser) will create a new database named test_db and a new user with the same name, with the password "pass"

Testing

If you use this database to run a local copy of NERDZ, you can login as "admin" user using

  • Username: admin
  • Password: adminadmin

Rebuild db after modifications

pg_dump -d test_db -U test_db > testdb.sql
You can’t perform that action at this time.