Skip to content

Commit

Permalink
yarn bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Sep 20, 2023
1 parent a37af09 commit 82cb39a
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 734 deletions.
26 changes: 13 additions & 13 deletions DEVELOP.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# volto-addon-template
# volto-toolbar-actions

## Develop

1. Make sure you have `docker` and `docker compose` installed and running on your machine:

```Bash
git clone https://github.com/eea/volto-addon-template.git
cd volto-addon-template
git clone https://github.com/eea/volto-toolbar-actions.git
cd volto-toolbar-actions
git checkout -b bugfix-123456 develop
make
make start
Expand All @@ -19,10 +19,10 @@
1. Happy hacking!

```Bash
cd src/addons/volto-addon-template/
cd src/addons/volto-toolbar-actions/
```

### Or add @eeacms/volto-addon-template to your Volto project
### 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 @@ -32,15 +32,15 @@ Before starting make sure your development environment is properly set. See [Vol

1. Create new volto app

yo @plone/volto my-volto-project --addon @eeacms/volto-addon-template --skip-install
yo @plone/volto my-volto-project --addon @eeacms/volto-toolbar-actions --skip-install
cd my-volto-project

1. Add the following to `mrs.developer.json`:

{
"volto-addon-template": {
"url": "https://github.com/eea/volto-addon-template.git",
"package": "@eeacms/volto-addon-template",
"volto-toolbar-actions": {
"url": "https://github.com/eea/volto-toolbar-actions.git",
"package": "@eeacms/volto-toolbar-actions",
"branch": "develop",
"path": "src"
}
Expand Down Expand Up @@ -70,19 +70,19 @@ Before starting make sure your development environment is properly set. See [Vol

1. Happy hacking!

cd src/addons/volto-addon-template/
cd src/addons/volto-toolbar-actions/

## Cypress

To run cypress locally, first make sure you don't have any Volto/Plone running on ports `8080` and `3000`.
You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend
project where you added `volto-addon-template` to `mrs.developer.json`
project where you added `volto-toolbar-actions` to `mrs.developer.json`

Go to:

```BASH
cd src/addons/volto-addon-template/
cd src/addons/volto-toolbar-actions/
```

Start:
Expand All @@ -92,7 +92,7 @@ Start:
make start
```

This will build and start with Docker a clean `Plone backend` and `Volto Frontend` with `volto-addon-template` block installed.
This will build and start with Docker a clean `Plone backend` and `Volto Frontend` with `volto-toolbar-actions` block installed.

Open Cypress Interface:

Expand Down
107 changes: 0 additions & 107 deletions DEVELOP.md.tpl

This file was deleted.

3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent any

environment {
GIT_NAME = "volto-addon-template"
GIT_NAME = "volto-toolbar-actions"
NAMESPACE = "@eeacms"
SONARQUBE_TAGS = "volto.eea.europa.eu"
DEPENDENCIES = ""
Expand Down Expand Up @@ -246,6 +246,7 @@ pipeline {
}
}


stage('Pull Request') {
when {
not {
Expand Down
Loading

0 comments on commit 82cb39a

Please sign in to comment.