volto-slate-test-frontend

Pipeline Release

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.

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 NodeJS 12.x:

     nvm install 12
     nvm use 12
     node -v
     v12.16.2
    
  3. Install yarn

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

     git clone https://github.com/eea/volto-slate-test-frontend.git
     cd volto-slate-test-frontend
    
  5. Install

     yarn build
    
  6. Start backend

     docker-compose up -d
     docker-compose logs -f backend
    
  7. Start frontend

     yarn start:prod
    
  8. See application at http://localhost:3000

Try it

  1. Install Docker

  2. Install Docker Compose

  3. Start:

     git clone https://github.com/eea/volto-slate-test-frontend.git
     cd volto-slate-test-frontend
    
     docker-compose pull
     docker-compose up -d
    

    optionally change PORTS via .env:

     FRONTEND=9000 BACKEND=9100 docker-compose up -d
    
  4. See application at http://localhost:4000

Production

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

Release

  • Create a new release of this code via git tag command or Draft new release on Github.
    • A new Docker image is built and released automatically on DockerHub based on this tag.

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.