Skip to content

Instantly share code, notes, and snippets.

@koyanloshe
Last active April 17, 2020 08:31
Show Gist options
  • Save koyanloshe/cbb79380f1ebeab4cc74f68425661b99 to your computer and use it in GitHub Desktop.
Save koyanloshe/cbb79380f1ebeab4cc74f68425661b99 to your computer and use it in GitHub Desktop.
Static site generator #Javascript #Unix
// Step 1: Clone repository from GitHub
$ git clone https://github.com/ericalli/static-site-boilerplate
&& cd static-site-boilerplate && rm -rf .git && git init
// Step 2: Install dependencies
$ npm install
// Step 3: Run the development server
$ npm run start
// Step 4: Generate production-ready files
$ npm run build:dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment