1 | # Create Cloud Block
|
2 | A boilerplate generator for building [Gutenberg Cloud](https://gutenbergcloud.org/) blocks.
|
3 |
|
4 | This generator is inspired by both [Create React App](https://github.com/facebook/create-react-app) and [Create Guten Block](https://github.com/ahmadawais/create-guten-block). However, it is only intended to serve as a boilerplate and not a zero-configuration toolkit.
|
5 |
|
6 |
|
7 | ## Overview
|
8 |
|
9 | ```
|
10 | $ npm init cloud-block my-block
|
11 | $ cd my-block
|
12 | ```
|
13 |
|
14 | ## Development
|
15 |
|
16 | You can now start editing the block. To test the block with [g-editor](https://github.com/front/g-editor) (a minimalist version of the Gutenberg editor) run:
|
17 |
|
18 | ```
|
19 | $ npm start
|
20 | ```
|
21 |
|
22 | ## Deployment
|
23 |
|
24 | Once you're ready you can follow the deployment steps.
|
25 |
|
26 | ```
|
27 | $ npm run build
|
28 | $ npm publish
|
29 | ```
|