You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOP.md
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -16,26 +16,26 @@
16
16
17
17
1. Go to http://localhost:3000
18
18
19
-
1. Happy hacking!
19
+
1. Initialize git hooks
20
20
21
21
```Bash
22
-
cd src/addons/volto-widget-toggle/
22
+
yarn prepare
23
23
```
24
24
25
+
1. Happy hacking!
26
+
25
27
### Or add @eeacms/volto-widget-toggle to your Volto project
26
28
27
29
Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
28
30
29
31
1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
30
32
31
-
$ npm install -g yo
32
-
$ npm install -g @plone/generator-volto
33
-
$ npm install -g mrs-developer
33
+
npm install -g yo @plone/generator-volto mrs-developer
34
34
35
35
1. Create new volto app
36
36
37
-
$ yo @plone/volto my-volto-project --addon @eeacms/volto-widget-toggle
38
-
$ cd my-volto-project
37
+
yo @plone/volto my-volto-project --addon @eeacms/volto-widget-toggle --skip-install
38
+
cd my-volto-project
39
39
40
40
1. Add the following to `mrs.developer.json`:
41
41
@@ -50,28 +50,26 @@ Before starting make sure your development environment is properly set. See [Vol
0 commit comments