Slush generator for Velvet static-site projects.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This generator is the starting point for a Velvet-based website. It contains all the modules, boilerplate, and built-in process to get you started building and deploying a full website.

Created by Ronik Design and used to speed up internal development.

Getting started (Experienced)

To start you will need slush and this generator installed.

npm install slush slush-velvet --global

If you are on OSX, in order to install it properly you will also need VIPS. It handles the image processing.

That is as easy as:

brew install vips

Finally, create a directory for your site, and run the generator:

slush velvet

You will be guided through a series of questions to help you set up your site.

Getting started (Novice on OSX)

You'll want to start by installing Homebrew.

/usr/bin/ruby -e "$(curl -fsSL"

Then you'll need to install node, and VIPS:

brew install node vips

Finally, you'll want to install the requisite node modules from npm:

npm install slush slush-velvet --global

Now, create a directory, and start the generator:

mkdir my-site
cd my-site
slush velvet

Working with my site

You'll find documentation within the newly-created site's README that offers more detail, but the basics are as follows.

Build your site from source in the site folder:

gulp build

That will create an intermediary .build folder, and a public output public folder. To create a production-ready build add --production to the command, and minification and revisioning will be applied.

Develop your site, watching files for changes and updating on the fly:

gulp develop

This launches a Browser Sync local dev server, and keeps track of your files, reloading the browser when the html, css or js changes.

Deploy your site to S3:

gulp deploy

This will deploy the site to an S3 bucket with a name derived from your staging_url if it exists, otherwise, from your url. To deploy to your production url bucket add --target=production, and additionally, to optimized the build as above, add --production. So, a standard deployment string for a full site would look like this:

gulp deploy --production --target=production

Collaborating with git

Create your git repository in Github. Don't add any default files.

$ git init
$ git remote add origin[repo-name].git
$ git add .
$ git commit -am "Initial commit"
$ git branch --set-upstream-to=origin/master
$ git pull --rebase
$ git push origin master

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.


See the CONTRIBUTING Guidelines


If you have any problem or suggestion please open an issue here.