Skip to content

Commit

Permalink
docs: Add demo gif on how to add toolbar actions via ZMI
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Sep 28, 2023
1 parent 50fdd91 commit 1abd06d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
13 changes: 6 additions & 7 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@

1. Go to http://localhost:3000

1. Happy hacking!
1. Initialize git hooks

```Bash
cd src/addons/volto-toolbar-actions/
yarn prepare
```

1. Happy hacking!

### Or add @eeacms/volto-toolbar-actions to your Volto project

Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
Expand All @@ -48,18 +50,15 @@ Before starting make sure your development environment is properly set. See [Vol

1. Install

yarn develop
make develop
yarn

1. Start backend

docker pull plone
docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend

...wait for backend to setup and start - `Ready to handle requests`:

docker logs -f plone

...you can also check http://localhost:8080/Plone

1. Start frontend
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@

## Features

![Toolbar Actions](https://github.com/eea/volto-toolbar-actions/raw/develop/docs/toolbar-actions.png)
![Toolbar Actions](https://github.com/eea/volto-toolbar-actions/raw/master/docs/toolbar-actions.png)

### Demo - How to add a toolbar action via ZMI

![Toolbar Actions](https://github.com/eea/volto-toolbar-actions/raw/master/docs/toolbar-actions.gif)

## Getting started

Expand Down
Binary file added docs/toolbar-actions.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1abd06d

Please sign in to comment.