Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamisntdead/node-static-site
My talk for the NodeJS Dublin Meetup, April 2018⚡️
https://github.com/adamisntdead/node-static-site
generator nodejs site static static-site static-site-generator
Last synced: 30 days ago
JSON representation
My talk for the NodeJS Dublin Meetup, April 2018⚡️
- Host: GitHub
- URL: https://github.com/adamisntdead/node-static-site
- Owner: adamisntdead
- Created: 2018-04-15T21:22:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-23T09:49:03.000Z (over 6 years ago)
- Last Synced: 2024-10-25T03:59:19.337Z (3 months ago)
- Topics: generator, nodejs, site, static, static-site, static-site-generator
- Language: CSS
- Homepage: https://slides.com/adamkelly-2/deck/
- Size: 6.72 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Write You A Static Site Generator ⚡️
> My talk for the NodeJS Dublin Meetup, April 2018**Description:** The JAM stack has become a popular way of developing sites.
In this talk, I will go through the process of building a static site generator.
I will talk about the choices to make when designing your own, why NodeJS is well suited for this, and will cover actually writing one in the talk.
Lastly, I will discuss the current state of the JAM stack, and when you should think about using it.**Rough Talk Duration:** 30-40 minutes
**Slides:** Available on [slides.com](https://slides.com/adamkelly-2/deck/#/)
[![Youtube Video](https://i.imgur.com/MptD9wX.png)](https://www.youtube.com/watch?v=aCbqj7FxCwY)
## Generator
### Usage
Install the cli:
```bash
$ npm install -g construct-cli
```Create a new folder, and create a new site inside of it
```bash
$ mkdir site
$ cd site
$ construct new
```Build the site
```bash
$ construct build
```