From 76ed263bcff64e0fd74ce5b56e9e00b51db968da Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Fri, 29 Sep 2023 12:03:10 +0300 Subject: [PATCH] docs: Update README and DEVELOP --- DEVELOP.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/DEVELOP.md b/DEVELOP.md index 864b312..3137577 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -16,12 +16,14 @@ 1. Go to http://localhost:3000 -1. Happy hacking! +1. Initialize git hooks ```Bash - cd src/addons/volto-slate-label/ + yarn prepare ``` +1. Happy hacking! + ### Or add @eeacms/volto-slate-label 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/) @@ -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 @@ -71,7 +70,6 @@ Before starting make sure your development environment is properly set. See [Vol 1. Happy hacking! cd src/addons/volto-slate-label/ -o-addon-template/ ## Cypress