Skip to content

Sample extension for training purposes at OXID Academy.

License

Notifications You must be signed in to change notification settings

oxid-academy/feefreepayments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OXID Academy: Exercise extensions (Skeleton)

This package contains an example module intended for training purposes at OXID Academy.

Installation instructions

Register and require the package

In the local development environment, cd into the root directory of your compilation (where composer.json and composer.lock are located) and run Composer as shown below:

composer config repositories.oxid-academy/feefreepayments vcs https://github.com/oxid-academy/feefreepayments.git

This should result in the following change to composer.json:

   ...
  "repositories": {
    "oxid-academy/feefreepayments": {
      "type": "vcs",
      "url": "https://github.com/oxid-academy/feefreepayments.git"
    },
    ...
  },
  ...

... which results in something like:

composer require oxid-academy/feefreepayments

... which makes it:

  "require": {
    ...,
    "oxid-academy/feefreepayments": "dev-master"
  },

Enabling the module

  • When Composer is done processing your new request, you may enable the module:
vendor/bin/oe-console o:m:activate oxacfeefreepayments

Running tests

cd into the root dir of your compilation and run the following command whereupon /var/www/oxideshop represents the absolute path to your compilation:

cd /var/www/oxideshop/
./vendor/bin/runtests /var/www/oxideshop/source/modules/oxac/feefreepayments/Tests/

About

Sample extension for training purposes at OXID Academy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages