Socket
Socket
Sign inDemoInstall

generator-go-static

Package Overview
Dependencies
569
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-go-static

Go-Static! is a static site generator that employs the tools developers already know and love. Yeoman to scaffold out your project and Grunt to generate the output.


Version published
Weekly downloads
9
Maintainers
1
Created
Weekly downloads
 

Readme

Source
   ______              _____  __          __   _        __
  / ____/____         / ___/ / /_ ____ _ / /_ (_)_____ / /
 / / __ / __ \ ______ \__ \ / __// __ `// __// // ___// / 
/ /_/ // /_/ //_____/___/ // /_ / /_/ // /_ / // /__ /_/  
\____/ \____/       /____/ \__/ \__,_/ \__//_/ \___/(_) 

Go-Static! is a static site generator that employs the tools developers already know and love. Yeoman to scaffold out your project and Grunt to generate the output.

NPM

Getting Started

Go Static! depends on Yeoman, so make sure you have it installed:

$ npm install -g yo

Once you have Yeoman installed, you can install Go-Static! with NPM:

$ npm install -g generator-go-static

With Go-Static! installed, you can now initialize your working directory:

$ mkdir my-blog && cd $_
$ yo go-static

Creating your first post

If everything intialized correctly, you can now use Go-Static! to create your posts for you.

$ yo go-static:post

You will be presented with some questions regarding the post, such as title, snippet, tags, etc. If everything went ok, it will generate a report of exactly what was generated for you.

You don't have to write just posts, you can create pages also:

$ yo go-static:page

The build step

Once your pages and posts are created, it's time to generate the output and serve it up.

$ grunt server

Running the server Grunt task will build and watch your code for changes. If you prefer to just run the build step, just run:

$ grunt build

That's it!

Full Documentation

Documentation isn't completed as this is a work in progress, but there are a couple pages to help you understand some of the basics.

Go-Static! Wiki

Contributing

Go-Static! has just been born and still needs work to be awesome. If you'd like to help make it awesome, let me know!

License

MIT License

Keywords

FAQs

Last updated on 17 Nov 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc