Sign inSign up

eeacms/industry-frontend

By eeacms

•Updated almost 2 years ago

industry-frontend image

Image
0

6.2K

eeacms/industry-frontend repository overview

⁠EPRTR: Volto 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. Clone:

     $ git clone https://github.com/eea/eprtr_frontend.git
     $ cd eprtr_frontend
    
  2. Install nvm

     $ touch ~/.bash_profile
     $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    
     $ source ~/.bash_profile
     $ nvm version
    
  3. Install latest NodeJS 12.x:

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

     $ curl -o- -L https://yarnpkg.com/install.sh | bash
     $ yarn -v
    
  5. Install

     $ yarn
    
  6. Start and setup backend

      $ docker-compose up -d
    
    • Go to http://localhost:8080 Advanced⁠:
    • Add Plone site with add-ons enabled (user: admin, password: admin):
      • kitconcept.volto
  7. Start frontend

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

⁠Try it

  1. Install Docker⁠

  2. Install Docker Compose⁠

  3. Start:

     $ git clone https://github.com/eea/eprtr_frontend.git
     $ cd eprtr_frontend
    
     $ docker-compose pull
     $ docker-compose up -d
    

    optionally change PORTS via .env:

     $ FRONTEND=9000 BACKEND=9100 docker-compose up -d
    
  4. Go to http://localhost:8080 Advanced⁠:

    • Add Plone site with add-ons enabled (user: admin, password: admin):
      • kitconcept.volto
  5. See application at http://localhost:8000⁠

⁠Production

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

⁠Deploy
⁠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.
    • A new entry is automatically added to Volto - EPRTR⁠ EEA Rancher Catalog
⁠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.

Tag summary

Content type

Image

Digest

sha256:12532289d…

Size

336.5 MB

Last updated

almost 2 years ago

docker pull eeacms/industry-frontend:3.29.0