Skip to content
Alin Voinea edited this page Mar 1, 2022 · 5 revisions

How to use this template

With Yeoman Volto App Generator

  1. Install Yeoman Volto App Generator

    npm install -g yo @plone/generator-volto
    
  2. Generate Volto add-on based on this template

    yo @plone/volto:addon --template=eea/volto-addon-template @eeacms/volto-custom-addon
    

With Github templates

  1. Create a new repository from volto-addon-template

  2. Clone your new repository on your local machine like:

    git clone https://github.com/eea/volto-custom-addon
    cd volto-custom-addon
    
  3. Bootstrap

    yarn bootstrap
    
  4. See changes and commit:

    git diff
    git add .
    git commit -m "Initial commit"
    git push
    
  5. Add develop branch:

    git checkout -b develop
    git push -u origin develop