.. |Codecov| image:: http://codecov.io/github/edx/license-manager/coverage.svg?branch=master .. _Codecov: http://codecov.io/github/edx/license-manager?branch=master
Django backend for managing licenses and subscriptions.
Prerequisites ^^^^^^^^^^^^^
DEVSTACK_WORKSPACE
env variable (either locally or in your shell config file: .bash_rc
, .zshrc
, or equivalent) to the folder which contains this repo and the devstack
repo.
e.g export DEVSTACK_WORKSPACE=/home/<your_user>/edx
devstack <https://github.com/openedx/devstack>
_Quick Setup
^^^^^^^^^^^
More detailed setup instructions <https://github.com/openedx/license-manager/blob/master/docs/getting_started.rst>
_
::
$ make docker_build $ make dev.provision $ make dev.up $ make app-shell
The server will run on localhost:18170
::
$ make app-shell
Sometimes the names of volumes must change due to upgrades, etc. To dump data from an old mysql volume to the new mysql8 volume:
mkdir -p .dev/backups
(although the next steps might actually do this for you)Then::
make dev.down make dev.backup make dev.down
Next:
make dev.restore
make dev.down dev.up
- might be necessary if you lost connection between the app container and the mysql container... |ReadtheDocs| image:: https://readthedocs.org/projects/license-manager/badge/?version=latest .. _ReadtheDocs: http://license-manager.readthedocs.io/en/latest/
Documentation <https://license-manager.readthedocs.io/en/latest/>
is hosted on Read the Docs. The source is hosted in this repo's docs <https://github.com/openedx/license-manager/tree/master/docs>
directory. To contribute, please open a PR against this repo.
For instructions on starting local development, see Getting Started <https://github.com/openedx/license-manager/blob/master/docs/getting_started.rst>
_.
The code in this repository is licensed under version 3 of the AGPL unless otherwise noted. Please see the LICENSE_ file for details.
.. _LICENSE: https://github.com/openedx/license-manager/blob/master/LICENSE
Contributions are welcome. Please read How To Contribute <https://github.com/openedx/.github/blob/master/CONTRIBUTING.md>
_ for details.
Please do not report security issues in public. Please email security@openedx.org.
Ask questions and discuss this project on Slack <https://openedx.slack.com/messages/general/>
or in the edx-code Google Group <https://groups.google.com/forum/#!forum/edx-code>
.