Connexions Database Library¶
Usage¶
Initialize an database:
export DB_URL=postgresql:///repository
cnx-db init
Todo
This may become part of dbmigrator init
or dbmigrator migrate
in the future.
For application and scripting usage information, see Usage.
Testing¶
The tests require access to a blank database named testing
with the user tester
and password tester
. This can easily
be created using the following commands:
psql -c "CREATE USER tester WITH SUPERUSER PASSWORD 'tester';"
createdb -O tester testing
The tests can then be run using:
make test
Or:
pip install -r requirements/test.txt
py.test
License¶
This software is subject to the provisions of the GNU Affero General Public License Version 3.0 (AGPL). See license.txt for details. Copyright (c) 2017 Rice University
Contents¶
- Configuration
- Usage
- Database Triggers
- API
- Change Log
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 2.7.0
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.12.0
- 0.11.0
- 0.10.4
- 0.10.3
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0