An initiative of Pipoca Digital to help those people who want to create WordPress websites easily.
First of all, make sure you have installed the main dependencies:
# Clone it:
$ git clone [email protected]:pipocadigital/grao-de-milho.git my-project-folder
# Then, go to the project's folder:
$ cd my-project-folder
# Install your dependencies and Init a new project by running:
$ npm start --name "My cool project name"
$ npm run wp:dev
- Download WordPress inside a folder called
wordpress/
- Copy your files to the correct place.
- Generate your theme based on your compiled files.
- After all it will open a new tab on your browser running a development server.
To keep working on your WordPress project whithout donwload it everytime, just run:
$ npm run serve
$ npm run wp:build
- Download WordPress inside a folder called
wordpress/
- Copy your files to the correct place.
- Generate your theme based on your compiled files.
- NodeJS
- Gulp
- JS (ES2015)
- Sass
- HTML5
- WordPress
If everything from the Getting Started section goes well, you should have this:
├── gulpfile.js
├── bower.json
├── package.json
├── README.md
├── wordpress
└── src
├── js
│ ├── *.js
├── images
│ └── {.jpg, .png, .svg, .gif, .ico}
├── css
│ ├── components
│ │ └── _component-name.sass
│ ├── elements
│ │ └── _element-name.sass
│ ├── pages
│ │ └── page-name
│ │ └── *.sass
│ ├── settings
│ │ ├── _base.sass
│ │ ├── _colors.sass
│ │ ├── _measures.sass
│ │ └── _typography.sass
│ ├── tools
│ │ └── _mixins.sass
│ └── main.sass
├── 404.php
├── footer.php
├── functions.php
├── header.php
├── index.php
├── page.php
├── search.php
└── style.css
Grão de Milho is distributed under the MIT License