DEPRECATED: Use official @plone/create-volto-app
This is both a Github template repository that will allow you to easily
boostrap a new Volto Frontend
project and also a developmnet environment for existing and new EEA Volto Add-ons
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.
-
Clone:
$ git clone https://github.com/eea/volto-starter-kit.git $ cd volto-starter-kit
-
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 10.x
:$ nvm install 10 $ nvm use 10 $ node -v v10.19.0
-
Install
yarn
$ curl -o- -L https://yarnpkg.com/install.sh | bash $ yarn -v
-
Install and run
mrs-develop
$ npm -g i mrs-developer $ missdev
-
Install
$ npm install
-
Activate
develop
add-ons$ yarn develop $ yarn activate:all $ yarn prebuild
-
Start and setup backend
$ yarn start:backend
- Go to
http://localhost:8080
Advanced: - Add
Plone
site with add-ons enabled (user:admin
, password:admin
):eea.restapi
kitconcept.voltodemo
- Go to
-
Start frontend
$ yarn start
-
See application at http://localhost:3000
-
Change existing Volto add-ons or create new ones within:
$ cd src/develop/ $ ls -l
-
Install Docker
-
Install Docker Compose
-
Start:
$ git clone https://github.com/eea/volto-starter-kit.git my-volto-app $ cd my-volto-app $ docker-compose pull $ docker-compose up -d
optionally change
PORTS
via.env
:$ FRONTEND=9000 BACKEND=9100 docker-compose up -d
-
Go to
http://localhost:8080
Advanced:- Add
Plone
site with add-ons enabled (user:admin
, password:admin
):eea.restapi
kitconcept.voltodemo
- Add
-
See application at http://localhost:8000
- Github > eea/volto-starter-kit click on Use this template
Synchronize git templates generated by GitHub as if they were forks.
In order to synchronize a child instance of Github eea/volto-starter-kit template template you can run:
$ yarn sync
We use Docker, Rancher and Jenkins to deploy this application in production.
- Within
Rancher > Catalog > EEA
deploy Volto
- Create a new release of this code via
git tag
command or Draft new release on Github.
-
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.