Installation / Deployment and Configuration

Django-Music-Publisher can be installed/deployed as a stand-alone application, or used as a Python package.

Installing as Python package (developers only)

If you plan to use Django-Music-Publisher as one of the apps in your Django project, there is nothing special about it:

pip install --upgrade django_music_publisher

Add music_publisher.apps.MusicPublisherConfig to INSTALLED_APPS, no URLs need to be added, as everything goes through the Django Admin.

See Settings.

Standalone Deployment

Depending on your needs and technical knowledge, there are several options here. They are listed below, starting with the simplest option.

Deployment to Heroku (free tier)

Heroku is a cloud platform that lets companies build, deliver, monitor and scale apps — we’re the fastest way to go from idea to URL, bypassing all those infrastructure headaches.

https://www.heroku.com/what

Django-Music-Publisher can simply be deployed to a Free dyno (container) on Heroku with a free database with up to 10.000 rows. Depending on complexity of your metadata, this is enough for 500-1.000 musical works.

If you need more, plans costing between $9 and $16 per months will increase the limits to hundreds of thousands of works. If you ever need more, this will no longer be the right software anyway.

See https://www.heroku.com/pricing for details.

You will have to sign up with Heroku at https://signup.heroku.com/ and verify your e-mail, no payment information is required.

There are two ways to do it:

  • Guided deployment, which uses a wizard that helps you fill out the deployment form, and
  • Direct deployment, which does not, but takes you directly to the deployment form.

Guided Deployment to Heroku

The author and maintainer of Django-Music-Publisher runs a professional support service, providing automatic feature upgrades, security/bugfix updates, maintenance and user support.

It also provides a free (no registration required) pre-installation wizard that fills out the deployment form on Heroku. However, you can only select collecting societies (PROs, MROs, etc.) with which the compatibility with Django-Music-Publisher was verified.

Direct Deployment

First, you need to sign up with Heroku and/or log in. Then press here.

You will be taken directly to the deployment form. Please note that you must fill the form correctly, or Django-Music-Publisher will not be deployed. This is by design.

See Settings.

Other options - manual deployment

Django-Music-Publisher is based on Django, which can be installed on Windows, Mac and Linux PCs and servers. For more information, consult the official Deploying Django documentation.

Settings

Affiliation settings

  • PUBLISHER_SOCIETY_PR - Publisher’s performance collecting society (PRO), required
  • PUBLISHER_SOCIETY_MR - Publisher’s mechanical collecting society (MRO)
  • PUBLISHER_SOCIETY_SR - Publisher’s synchronization collecting society, rarely used