Skip to content
Permalink
Browse files

Add Assemble Example (#508)

* add assemble example

* add package-lock.json
  • Loading branch information...
msweeneydev committed Oct 1, 2019
1 parent 0dc22af commit 7c2708bbcfc810c74dd16a0db2f1eae2fdcbea8f
@@ -0,0 +1,14 @@
# Enforce Unix newlines
*.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.less text eol=lf
*.md text eol=lf
*.yml text eol=lf

*.jpg binary
*.gif binary
*.png binary
*.jpeg binary
@@ -0,0 +1,47 @@
# Numerous always-ignore extensions
.ruby-version
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.zip
*.vi
*~

# OS or Editor folders
*.esproj
*.sublime-project
*.sublime-workspace
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
nbproject
Thumbs.db

# Komodo
*.komodoproject
.komodotools

# grunt-html-validation
validation-status.json
validation-report.json

# Folders to ignore
tmp
temp
TODO.md
vendor
node_modules
bower_components
_gh_pages
_site
_draft
.env
.env.build
@@ -0,0 +1 @@
README.md
@@ -0,0 +1,30 @@
/*
* assemble-examples <https://github.com/assemble/assemble-examples>
*
* Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors.
* Licensed under the MIT license.
*/

module.exports = function(grunt) {
'use strict';

grunt.initConfig({
assemble: {
options: {
flatten: true,
partials: ['templates/includes/*.hbs'],
layoutdir: 'templates/layouts',
layout: 'default.hbs'
},
site: {
files: { 'public/index.js': ['templates/*.hbs'] }
}
}
});

// Load the Assemble plugin.
grunt.loadNpmTasks('assemble');

// The default task to run with the `grunt` command.
grunt.registerTask('default', ['assemble']);
};
@@ -0,0 +1,27 @@
# Assemble Example

This directory is a brief example of a [Assemble](http://assemble.io/) app that can be deployed with ZEIT Now and zero configuration.

## Deploy Your Own

Deploy your own Assemble project with ZEIT Now.

[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/new/project?template=https://github.com/zeit/now-examples/tree/master/assemble)

_Live Example: https://assemble.now-examples.now.sh_

### How We Created This Example

To get started with Assemble deployed with ZEIT Now, you can use [Now CLI](https://zeit.co/download) to initialize the project:

```shell
$ now init assemble
```

### Deploying From Your Terminal

You can deploy your new Assemble project with a single command from your terminal using [Now CLI](/download):

```shell
$ now
```
@@ -0,0 +1,7 @@
# Blog post

> This is an example blog post
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

0 comments on commit 7c2708b

Please sign in to comment.
You can’t perform that action at this time.