Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardpixel/marv
A toolkit for bootstrapping and developing WordPress themes and plugins using Sass, LESS, and CoffeeScript.
https://github.com/hardpixel/marv
coffeescript gem ruby sass scaffolding wordpress
Last synced: 2 days ago
JSON representation
A toolkit for bootstrapping and developing WordPress themes and plugins using Sass, LESS, and CoffeeScript.
- Host: GitHub
- URL: https://github.com/hardpixel/marv
- Owner: hardpixel
- License: mit
- Created: 2014-07-28T15:48:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T12:56:11.000Z (over 2 years ago)
- Last Synced: 2024-10-31T15:13:40.536Z (18 days ago)
- Topics: coffeescript, gem, ruby, sass, scaffolding, wordpress
- Language: Ruby
- Homepage: http://hardpixel.github.io/marv
- Size: 867 KB
- Stars: 12
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## What is Marv?
Marv is a free command-line toolkit for bootstrapping and developing WordPress themes and plugins in a tidy environment using front-end languages like Sass, LESS, and CoffeeScript.
[![Gem Version](https://badge.fury.io/rb/marv.svg)](http://badge.fury.io/rb/marv)
[![Code Climate](https://codeclimate.com/github/hardpixel/marv/badges/gpa.png)](https://codeclimate.com/github/hardpixel/marv)## How does it work?
Marv creates a neatly organized source folder with clean and simple scaffolding (base template files, SCSS files). The source folder is automatically compiled to your development server(s) as you save changes and work on your project. When you are ready to distribute your project Marv will build it to a folder of your choice or bundle the project up into an easy to install zip package.
## Why use Marv?
Marv accelerates development by giving you access to higher-level languages like Sass, LESS, and CoffeeScript. These languages are much quicker and cleaner to code, but still compile to normal CSS and JavaScript. Marv also makes it easy to quickly bootstrap into and a more modular development environment, while still compiling "by the book" WordPress code.
## Basic setup
Install Marv (requires [Ruby](http://www.ruby-lang.org/) and [RubyGems](http://rubygems.org/)):
$ gem install marv
Create your new project:
$ marv create project-name
Create your development server:
$ marv server create server-name
Link to your development server:
$ cd project-name
$ marv link server-nameAlso you can link to a WordPress installation:
$ cd project-name
$ marv link /var/www/wordpressWatch for changes and start developing!
$ cd project-name
$ marv watchPress Ctrl + D to exit watch mode
Build your project into the build_here directory:
$ marv build build_here
Package your project as package-name.zip:
$ marv package package-name
## Help
Get a little help with the Marv commands:
$ marv help
$ marv help commandSee the [user's manual](https://github.com/hardpixel/marv/wiki) for more information.
## Credits
Wordpress theme layout is based on [WP-Scaffold](https://github.com/gizburdt/wp-scaffold) by Gizburdt.
Marv is inspired from [Forge](https://github.com/thethemefoundry/forge) by ThemeFoundry.