Installing a new theme requires Composer
Setup new theme
composer create-project alpineio/quixote theme-namecreates a new copy of the Quixote composer project with base boilerplate.
vendor/bin/rocinante theme:regen "Super Awesome Theme" ./renames Alpine.IO's base Underscores theme in the current directory.
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.
From the command line:
npm install -g gulp-cli.
- 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.
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.
Available gulp commands
Only compile CSS -
gulp scripts creates the
Only compile Image -
gulp images creates the
/assets/images directory with compiled images. Uses Imagemin.
Quixote ships with a few docker containers to help preview and test your theme
To start docker run the below docker command
- Start docker
You may install a local Docker machine from something like: https://www.docker.com/products/docker-toolbox
http://192.168.99.100:3100/ username: root password: secret