Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sixteenbit/generator-scratch
Scratch is a starter theme generator based on <code>_s</code> and <code>Foundation</code>. It's a theme meant for hacking so don't use it as a <em>Parent Theme</em>. Instead try turning it into the next, most awesome, WordPress theme out there.
https://github.com/sixteenbit/generator-scratch
generator grunt wordpress wordpress-theme yeoman-generator
Last synced: about 1 month ago
JSON representation
Scratch is a starter theme generator based on <code>_s</code> and <code>Foundation</code>. It's a theme meant for hacking so don't use it as a <em>Parent Theme</em>. Instead try turning it into the next, most awesome, WordPress theme out there.
- Host: GitHub
- URL: https://github.com/sixteenbit/generator-scratch
- Owner: sixteenbit
- Created: 2015-08-07T19:35:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T18:10:59.000Z (over 7 years ago)
- Last Synced: 2024-11-11T21:13:15.074Z (2 months ago)
- Topics: generator, grunt, wordpress, wordpress-theme, yeoman-generator
- Language: PHP
- Homepage: https://www.npmjs.com/package/generator-scratch
- Size: 4.09 MB
- Stars: 36
- Watchers: 6
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scratch
## About
Scratch is a starter theme generator based on _s and Foundation. It's a theme meant for hacking so don't use it as a Parent Theme. Instead try turning it into the next, most awesome, WordPress theme out there.
## Setup
#### Install Yeoman
npm install -g yo
#### Install Grunt.js
npm install -g grunt-cli
#### Install generator-scratch
npm install -g generator-scratch
Lots of code will happen. This may take a few minutes. Go make a beverage! When it's done you can use the generator like so... Navigate to your development WordPress theme folder [change path as needed]:
cd public_html/wordpress-root/wp-content/themes
Run the generator
yo scratch
You will be prompted with a few basic questions to help the setup get started. Once you get past the description question you will again see lots of code. That's grunt and bower doing their thing. It's also time to drink your beverage!
Navigate to your new theme:
cd newtheme
In the root of your theme, run the following:
`npm i`
Then run `grunt` to build the project.