{"id":20037745,"url":"https://github.com/openedx/license-manager","last_synced_at":"2025-03-17T16:10:16.792Z","repository":{"id":37800008,"uuid":"253838823","full_name":"openedx/license-manager","owner":"openedx","description":"Django backend for managing licenses and subscriptions","archived":false,"fork":false,"pushed_at":"2025-03-11T19:38:42.000Z","size":2610,"stargazers_count":36,"open_issues_count":4,"forks_count":30,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-03-11T20:32:45.110Z","etag":null,"topics":["backend-service"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openedx.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-07T15:41:12.000Z","updated_at":"2025-03-11T19:38:45.000Z","dependencies_parsed_at":"2023-10-23T15:30:37.294Z","dependency_job_id":"16eeb20d-35e3-4db7-a8ad-ce961a8fdf03","html_url":"https://github.com/openedx/license-manager","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Flicense-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Flicense-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Flicense-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Flicense-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openedx","download_url":"https://codeload.github.com/openedx/license-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066180,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-service"],"created_at":"2024-11-13T10:21:44.430Z","updated_at":"2025-03-17T16:10:16.779Z","avatar_url":"https://github.com/openedx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"License Manager  |Codecov|_\n===================================================\n.. |Codecov| image:: http://codecov.io/github/edx/license-manager/coverage.svg?branch=master\n.. _Codecov: http://codecov.io/github/edx/license-manager?branch=master\n\nDjango backend for managing licenses and subscriptions for enterprise customer.\n\nSetting up license-manager\n--------------------------\n\nPrerequisites\n^^^^^^^^^^^^^\n- Set the ``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.\n  e.g ``export DEVSTACK_WORKSPACE=/home/\u003cyour_user\u003e/edx``\n- Set up `devstack \u003chttps://github.com/openedx/devstack\u003e`_\n\nQuick Setup\n^^^^^^^^^^^\n`More detailed setup instructions \u003chttps://github.com/openedx/license-manager/blob/master/docs/getting_started.rst\u003e`_\n\n::\n\n  $ make docker_build\n  $ make dev.provision\n  $ make dev.up\n  $ make app-shell\n  # make requirements\n  # make validate  # to run full test suite\n\nThe server will run on ``localhost:18170``\n\nRunning migrations\n------------------\n\n::\n\n  $ make app-shell\n  # ./manage.py migrate\n\nRunning backup/restore to switch mysql volumes\n----------------------------------------------\nSometimes the names of volumes must change due to upgrades, etc.\nTo dump data from an old mysql volume to the new mysql8 volume:\n\n- Temporarily modify docker-compose.yml to switch the mysql volume name from mysql8 to just mysql\n- Create a backup directory in your license-manager repo: ``mkdir -p .dev/backups``\n  (although the next steps might actually do this for you)\n\nThen::\n\n  make dev.down\n  make dev.backup\n  make dev.down\n\nNext:\n\n- Remove your temp changes from above in docker-compose.yml\n- ``make dev.restore``\n- ``make dev.down dev.up`` - might be necessary if you lost connection between the app container and the mysql container.\n\nDocumentation\n-------------\n.. |ReadtheDocs| image:: https://readthedocs.org/projects/license-manager/badge/?version=latest\n.. _ReadtheDocs: http://license-manager.readthedocs.io/en/latest/\n\n`Documentation \u003chttps://license-manager.readthedocs.io/en/latest/\u003e`_ is hosted on Read the Docs. The source is hosted in this repo's `docs \u003chttps://github.com/openedx/license-manager/tree/master/docs\u003e`_ directory. To contribute, please open a PR against this repo.\n\nFor instructions on starting local development, see `Getting Started \u003chttps://github.com/openedx/license-manager/blob/master/docs/getting_started.rst\u003e`_.\n\nLicense\n-------\n\nThe code in this repository is licensed under version 3 of the AGPL unless otherwise noted. Please see the LICENSE_ file for details.\n\n.. _LICENSE: https://github.com/openedx/license-manager/blob/master/LICENSE\n\nHow To Contribute\n-----------------\n\nContributions are welcome. Please read `How To Contribute \u003chttps://github.com/openedx/.github/blob/master/CONTRIBUTING.md\u003e`_ for details.\n\nReporting Security Issues\n-------------------------\n\nPlease do not report security issues in public. Please email security@openedx.org.\n\nGet Help\n--------\n\nAsk questions and discuss this project on `Slack \u003chttps://openedx.slack.com/messages/general/\u003e`_ or in the `edx-code Google Group \u003chttps://groups.google.com/forum/#!forum/edx-code\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Flicense-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenedx%2Flicense-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Flicense-manager/lists"}