https://github.com/fccn/ecommerce-nau-extensions
NAU extensions to the Open edX Ecommerce
https://github.com/fccn/ecommerce-nau-extensions
Last synced: 4 months ago
JSON representation
NAU extensions to the Open edX Ecommerce
- Host: GitHub
- URL: https://github.com/fccn/ecommerce-nau-extensions
- Owner: fccn
- License: agpl-3.0
- Created: 2023-10-03T12:14:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-25T17:30:45.000Z (8 months ago)
- Last Synced: 2025-10-25T19:23:36.184Z (8 months ago)
- Language: Python
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
==================================================================================
NAU extensions to the Open edX Ecommerce
==================================================================================
This is an extensions project to aim to change the Open edX
`Ecommerce `__
behavior for the NAU project.
Configuration
===============
Add the `nau_extensions` to the `INSTALLED_APPS`, for example if you are using devstack
edit the `ecommerce/settings/private.py` file add change to::
from .production import INSTALLED_APPS
INSTALLED_APPS += ("paygate", "nau_extensions", )
LANGUAGE_CODE = "pt"
from django.utils.translation import ugettext_lazy as _
LANGUAGES = (
('pt-pt', _('Português')),
('en', _('English')),
)
LOGO_URL = "https://lms.nau.edu.pt/static/nau-basic/images/nau_azul.svg"
NAU_FINANCIAL_MANAGER = {
"edx": {
"url": "http://financial-manager.local.nau.fccn.pt:8000/api/billing/transaction-complete/",
"token": "Bearer abcdABCD1234",
}
}
Development
=============
To create migrations for this project the next command inside ecommerce container::
python manage.py makemigrations nau_extensions
Then run the migrations::
python manage.py migrate
Use specific Python version, use ecommerce requirements::
pyenv shell 3.12
python -m venv venv
. venv/bin/activate
pip install -r ../ecommerce/requirements.txt
pip install -r ../ecommerce/requirements/dev.txt
Lint::
ECOMMERCE_SOURCE_PATH=`pwd`/../ecommerce make lint
License
=======
This work is licensed under the terms of the `GNU Affero General Public License (AGPL) `_.