ABCdb is a web-based tool for working with music notated in ABC format, providing database, deduplication, rendering, and analysis functions.
You may read the full documentation on Read the Docs.
ABCdb is a fairly straightforward Django project. It requires the following packages:
Additionally, two environment variables must be set:
ABCDB_SECRET_KEY- Set this to the database key.
ABCDB_DEPLOYMENT- Set this to either 'development' or 'production'. The
settings.DEBUGvalue is set based on this,
Truefor 'development' and
Falsefor 'production'. When using 'production', you will need to do more configuration in
settings, such as setting
ALLOWED_HOSTSand other security settings.
A simple demonstration installation, using the Django development server, can be made something like this:
$ virtualenv abcdb-test $ cd abcdb-test $ source ./bin/activate $ git clone https://github.com/smbolton/abcdb.git abcdb $ cd abcdb $ pip install -r requirements.txt $ export ABCDB_SECRET_KEY='somE_secreT_databasE_keY' $ export ABCDB_DEPLOYMENT='development' $ python manage.py makemigrations $ python manage.py migrate $ python manage.py createsuperuser --username=admin --email@example.com # will ask for password $ python manage.py runserver
All code original to the ABCdb project is licensed under the MIT/Expat License:
Copyright © 2017 Sean Bolton.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Any code included from other sources (e.g. CSS or ./manage.py) is licensed under similar non-copyleft licenses. See the file LICENSES for more information.