Postnord shipping integration for Prestashop
Postnord integration for PrestaShop.
Docs
Please see documentation
Developing
cd modules
git clone git@github.com:vilkasgroup/vg_postnord.git composer dump-autoload --optimize --no-dev --classmap-authoritative
And install the module
Creating a new release
Remember to:
- Bump version number according to semver in the main module file
- Update CHANGELOG, change next version to the new version and add new section for next version
- Create pull request of the changes and merge to main
- Tag main for the release using format vX.X.X (same version as in the main module file)
git tag vX.X.X
git push --tags
Github actions will create new release and add a zip package to it
Running tests
Tests require apikey to be defined.
POSTNORD_APIKEY=asdf composer run-script test
You can also define <code>POSTNORD_HOST</code> if left out it will default to <code>atapi2.postnord.com</code>
get your apikey from: https://atdeveloper.postnord.com/signup
Docs
Documentation is built using Jekyll in docs folder and is updated when new commits are pushed to <code>main</code>.
To build docs locally install ruby and bundler and run:
cd docs
bundle install bundle exec jekyll serve
Docs use Minimal Mistakes theme.
Remember to update docs side nav if you add new sections
Komentarze (0)
Chwilowo nie możesz polubić tej opinii
Zgłoś komentarz
Zgłoszenie wysłane
Twoje zgłoszenie nie może zostać wysłane