2017 © Pedro Peláez
 

library quixote

Alpine.IO Theme Builder

image

alpineio/quixote

Alpine.IO Theme Builder

  • Thursday, April 28, 2016
  • by moneal
  • Repository
  • 3 Watchers
  • 0 Stars
  • 43 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 7 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Quixote

Codeship Status for alpineio/quixote devDependency Status Packagist Version Packagist Downloads Packagist Pre Release Packagist, (*1)

Installing a new theme requires Composer, (*2)

Setup new theme

  1. composer create-project alpineio/quixote theme-name creates a new copy of the Quixote composer project with base boilerplate.
  2. cd theme-name
  3. vendor/bin/rocinante theme:regen "Super Awesome Theme" ./ renames Alpine.IO's base Underscores theme in the current directory.

Compiling CSS and JavaScript

Bootstrap uses gulp with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some gulp commands., (*3)

Install Gulp

From the command line:, (*4)

  1. Install gulp-cli globally with npm install -g gulp-cli.
  2. Navigate to the root, then run npm install. npm will look at package.json and automatically install the necessary local dependencies listed there.

When completed, you'll be able to run the various gulp commands provided from the command line., (*5)

Unfamiliar with npm? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding., (*6)

Available gulp commands

Build - gulp

Run gulp to compile static assets and local web server for theme preview. CSS, Images and JavaScript compile into /assets. Uses Sass and UglifyJS., (*7)

Only compile CSS and JavaScript - gulp assets

gulp assets creates the /assets directory with compiled files. Uses Sass and UglifyJS., (*8)

Only compile CSS - gulp styles

gulp styles creates the /assets/css directory with compiled css. Uses Sass and Autoprefixer., (*9)

Only compile JavaScript - gulp scripts

gulp scripts creates the /assets/js directory with compiled javascript. Uses UglifyJS., (*10)

Only compile Image - gulp images

gulp images creates the /assets/images directory with compiled images. Uses Imagemin., (*11)

Watch - gulp watch

This is a convenience method for watching images, javascript, sass and font files, automatically building them whenever you save., (*12)

Docker Components

Quixote ships with a few docker containers to help preview and test your theme, (*13)

To start docker run the below docker command, (*14)

  • Start docker docker-compose up

Local Docker

You may install a local Docker machine from something like: https://www.docker.com/products/docker-toolbox, (*15)

WordPress

http://192.168.99.100:3001/, (*16)

phpMyAdmin

http://192.168.99.100:3100/ username: root password: secret, (*17)

The Versions

28/04 2016

dev-master

9999999-dev

Alpine.IO Theme Builder

  Sources   Download

MIT

The Requires

 

The Development Requires

28/04 2016

0.1.3

0.1.3.0

Alpine.IO Theme Builder

  Sources   Download

MIT

The Requires

 

The Development Requires

31/01 2016

0.1.1

0.1.1.0

Alpine.IO Theme Builder

  Sources   Download

MIT

The Requires

 

The Development Requires

31/01 2016

0.1.0

0.1.0.0

Alpine.IO Theme Builder

  Sources   Download

MIT

The Requires

 

The Development Requires