cjpatoilo / grao-de-milho

A WordPress project starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An initiative of Pipoca Digital to help those people who want to create WordPress websites easily.

Table of contents

Getting started

First of all, make sure you have installed the main dependencies:

# Clone it:
$ git clone git@github.com: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"

Dev

$ npm run wp:dev
  1. Download WordPress inside a folder called wordpress/
  2. Copy your files to the correct place.
  3. Generate your theme based on your compiled files.
  4. 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

Production

$ npm run wp:build
  1. Download WordPress inside a folder called wordpress/
  2. Copy your files to the correct place.
  3. Generate your theme based on your compiled files.

Technologies

  • NodeJS
  • Gulp
  • JS (ES2015)
  • Sass
  • HTML5
  • WordPress

Structure

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

License

Grão de Milho is distributed under the MIT License

About

A WordPress project starter

License:MIT License


Languages

Language:JavaScript 52.4%Language:PHP 32.1%Language:Sass 14.7%Language:CSS 0.7%Language:Hack 0.0%