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.
-
Install
nvm
touch ~/.bash_profile curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash source ~/.bash_profile nvm version
-
Install latest
NodeJS 12.x
:nvm install 12 nvm use 12 node -v v12.16.2
-
Install
yarn
curl -o- -L https://yarnpkg.com/install.sh | bash yarn -v
-
Clone:
$ git clone https://github.com/eea/marine-frontend.git $ cd marine-frontend
-
Activate
develop
add-ons$ yarn develop
-
Install dependencies using Yarn
$ yarn
-
Start frontend in develop mode without the need to build the JS resources
$ yarn start
-
Or start frontend in production mode
$ yarn start:prod
-
See application at http://localhost:3000
Plone 5 backend package for the WISE-Marine website: https://github.com/eea/marine-backend
-
Install Docker
-
Install Docker Compose
-
Clone (in marine-frontend package)
$ cd marine-frontend $ git clone git@github.com:eea/marine-backend.git backend
-
Build and run the image
$ docker-compose build $ docker-compose up -d
$ docker-compose up -d backend
$ docker-compose exec backend bash
$ bin/standalone fg
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
orMAJOR.MINOR.x
etc )
See release
We use Docker, Rancher and Jenkins to deploy this application in production.
-
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.