Captures and balances enterprise-subsidized transactions.
# Clone the repository git clone [email protected]:openedx/enterprise-subsidy.git cd enterprise-subsidy make dev.up.build-no-cache ./provision-enterprise-subsidy.sh
Go visit http://localhost:18280/admin/ and login with the standard edx/edx credentials to confirm that provisioning was successful.
# Grab the latest code git checkout main git pull # start the docker containers make dev.up.build # or docker-compose build --no-cache && make dev.up # enter the app container shell make app-shell # Install/update the dev requirements make requirements # Run the tests and quality checks (to verify the status before you make any changes) make test # optionally make validate # Now, back on your host... # Make a new branch for your changes git checkout -b <your_github_username>/<short_description> # Using your favorite editor, edit the code to make your change. # vim ... # Run your new tests make app-shell pytest ./path/to/new/tests # Run all the tests and quality checks make validate # Commit all your changes # exit to your host again git commit ... git push # Open a PR and ask for review.
Merging a pull request will cause a GoCD build pipeline to start automatically. When the build pipeline is completed, the built image will be deployed to our staging environment automatically.
To deploy your change to the production environment, you must manually trigger
the production enterprise-subsidy-prod pipeline, which will use the latest
commit in the main
branch by default.
- https://github.com/openedx/enterprise-subsidy/tree/main/docs/decisions documents various architectural decisions the maintainers have made.
- https://github.com/openedx/enterprise-subsidy/tree/main/docs/caching.rst describes the design and use of caching layers in this service.
If you're having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.
Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace.
For anything non-trivial, the best path is to open an issue in this repository with as many details about the issue you are facing as you can provide.
https://github.com/openedx/enterprise-subsidy/issues
For more information about these options, see the Getting Help page.
The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.
Please see LICENSE.txt for details.
Contributions are very welcome. Please read How To Contribute for details.
This project is currently accepting all types of contributions, bug fixes, security fixes, maintenance work, or new features. However, please make sure to have a discussion about your new feature idea with the maintainers prior to beginning development to maximize the chances of your change being accepted. You can start a conversation by creating a new issue on this repo summarizing your idea.
All community members are expected to follow the Open edX Code of Conduct.
The assigned maintainers for this component and other project details may be
found in Backstage. Backstage pulls this data from the catalog-info.yaml
file in this repo.
Please do not report security issues in public. Please email [email protected].