eea / ims-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMS: Volto Frontend

Release Pipeline Pipeline Release pipeline

Documentation

A training on how to create your own website using Volto is available as part of the Plone training at https://training.plone.org/5/volto/index.html.

Volto Add-ons

  1. Releases Pipeline Pipeline @eeacms/volto-eea-kitkat
    1. Releases Pipeline Pipeline @eeacms/volto-matomo
    2. Releases Pipeline Pipeline @eeacms/volto-sentry-rancher-config
    3. Releases Pipeline Pipeline @eeacms/volto-banner
    4. Releases Pipeline Pipeline @eeacms/volto-corsproxy
    5. Releases Pipeline Pipeline @eeacms/volto-depiction
    6. Releases Pipeline Pipeline @eeacms/volto-taxonomy
    7. Releases Pipeline Pipeline @eeacms/volto-object-widget
    8. Releases Pipeline Pipeline @eeacms/volto-widgets-view
    9. Releases Pipeline Pipeline @eeacms/volto-widget-toggle
    10. Releases Pipeline Pipeline @eeacms/volto-widget-temporal-coverage
    11. Releases Pipeline Pipeline @eeacms/volto-widget-geolocation
    12. Releases Pipeline Pipeline volto-slate:asDefault
    13. Releases Pipeline Pipeline @eeacms/volto-slate-metadata-mentions
    14. Releases Pipeline Pipeline @eeacms/volto-slate-footnote
    15. Releases Pipeline Pipeline @eeacms/volto-slate-zotero
    16. Releases Pipeline Pipeline @eeacms/volto-listing-block
    17. Releases Pipeline Pipeline @eeacms/volto-accordion-block
    18. Releases Pipeline Pipeline @eeacms/volto-block-toc
    19. Releases Pipeline Pipeline @eeacms/volto-block-divider
    20. Releases Pipeline Pipeline @eeacms/volto-metadata-block
    21. Releases Pipeline Pipeline @eeacms/volto-group-block
    22. Releases Pipeline Pipeline @eeacms/volto-columns-block
    23. Releases Pipeline Pipeline @eeacms/volto-block-style
    24. Releases Pipeline Pipeline @eeacms/volto-resize-helper
    25. Releases Pipeline Pipeline @eeacms/volto-tabs-block
    26. Releases Pipeline Pipeline @eeacms/volto-block-image-cards
  2. Releases Pipeline Pipeline @eeacms/volto-block-data-figure
  3. Releases Pipeline Pipeline @eeacms/volto-editing-progress
  4. Releases Pipeline Pipeline @eeacms/volto-workflow-progress
  5. Releases Pipeline Pipeline @eeacms/volto-ims-theme
  6. Releases Pipeline Pipeline @eeacms/volto-ims-policy
  7. Releases Pipeline Pipeline @eeacms/volto-middleware-vh

Getting started

  1. Install nvm

     touch ~/.bash_profile
     curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    
     source ~/.bash_profile
     nvm version
    
  2. Install latest Node.js LTS (16.x):

     nvm install 16
     nvm use 16
     node -v
     v16.13.1
    
  3. Install yarn

     curl -o- -L https://yarnpkg.com/install.sh | bash
     yarn -v
    
  4. Clone:

     git clone https://github.com/eea/ims-frontend.git
     cd ims-frontend
    
  5. Start backend and check logs for application ready message

     docker-compose up -d
     docker-compose logs -f
    
  6. Build resources if you run frontend in production mode

     yarn build
    
  7. Start frontend in production mode

     yarn start:prod
    
  8. Start frontend in develop mode without the need to build the JS resources

     yarn start
    
  9. See application at http://localhost:3000

  10. Login with admin:admin

Try it using docker images

  1. Install Docker

  2. Install Docker Compose

  3. Start the Plone backend and the Volto frontend:

     git clone https://github.com/eea/ims-frontend.git
     cd ims-frontend
    
     docker-compose pull
     docker-compose -f demo.yml up
    

    optionally change PORTS via .env:

     FRONTEND=9000 BACKEND=9100 docker-compose -f demo.yml up -d
    
  4. See application at http://localhost:3000

Automated @eeacms dependencies upgrades

All the addon dependencies that are located in the dependencies section of package.json file that belong to @eeacms and have a MAJOR.MINOR.PATCH version are automatically upgraded on the release of a new version of the addon. This upgrade is done directly on the develop branch.

Exceptions from automated upgrades ( see https://docs.npmjs.com/cli/v8/configuring-npm/package-json#dependencies for dependency configuration examples ) :

  • All github or local paths
  • Any version intervals ( ^version or >version or MAJOR.MINOR.x etc )

Release

See release

Production

We use Docker, Rancher and Jenkins to deploy this application in production.

Deploy

Upgrade

  • Within your Rancher environment click on the Upgrade available yellow button next to your stack.

  • Confirm the upgrade

  • Or roll-back if something went wrong and abort the upgrade procedure.

About


Languages

Language:JavaScript 47.5%Language:Python 39.5%Language:Shell 11.6%Language:Dockerfile 1.4%