Skip to content

Latest commit

 

History

History
executable file
·
44 lines (38 loc) · 1.09 KB

readme.md

File metadata and controls

executable file
·
44 lines (38 loc) · 1.09 KB

NEMS Platform Instructions

This documentation assumes that you have a clean version of the subsite starterkit, checked out from your project repo. You should not have built the project just yet at this point!

1. Modify the composer.json file`

1.1 Require the ec-europa/nems-platform like so

    "ec-europa/nems-platform": "1.*"

1.2 Add the package like so`(don't forget the comma after the last package)

    {
      "type": "package",
      "package": {
        "name": "ec-europa/nems-platform",
        "version": "1.0",
        "source": {
          "url": "https://github.com/ec-europa/nems-platform-reference.git",
          "type": "git",
          "reference": "master"
        }
      }
    }

1.3 Add the post-install-cmd

Modify

    "scripts": {
    "post-install-cmd": "resources/scripts/composer/post-install.sh"
    },

To

    "scripts": {
    "post-install-cmd": ["resources/scripts/composer/post-install.sh","vendor/ec-europa/nems-platform/post-install.sh"]
    },

Make sure that you have correct permissions setup on your local machine!