diff --git a/.gitignore b/.gitignore index 96e9c43..d7eed0b 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ deploy-*.sh # Custom blocks +config +data +src diff --git a/README.md b/README.md index c9c950b..3db5e59 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,11 @@ environment. Generated blocks are including this repository. This project is running a nodejs script with `browsersync` and `gulp` which improves the development process. + +## Development / Testing the tool + +Run `npm run generate-block` command and give the `development` name to the block, it will generate the `/blocks` folder. + +Copy the `/development/data` and `/development/src` folders to root folder of project. +Now you're ready to run development process: `npm run dev`. + diff --git a/generators/block/templates/src/template.template.hbs b/generators/block/templates/src/template.template.hbs index 6afa5fe..e44d509 100644 --- a/generators/block/templates/src/template.template.hbs +++ b/generators/block/templates/src/template.template.hbs @@ -33,9 +33,9 @@
+
<img src="images/demo.jpeg" alt="">
+ <img src="/images/demo.jpeg" alt="">