0.1.7 • Published 8 years ago

generator-metalsmith-gitlab-pages v0.1.7

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
8 years ago

generator-metalsmith-gitlab-pages NPM version Build Status Dependency Status

Yeoman generator for simple metalsmith static website (in typescript) for GitLab Pages.

Installation

First, install Yeoman and generator-metalsmith-gitlab-pages using npm (we assume you have pre-installed node.js).

npm install -g yo typescript
npm install -g generator-metalsmith-gitlab-pages

Then generate your new project:

yo metalsmith-gitlab-pages

Local Manual Build

You can build your website using make:

make build

The static website output is created in the public folder, which is used for GitLab Pages. Generally, you can customize your website by modifying the content files under the input folder and/or the layout files under the layouts folder. You can also update the src/index.ts file for further customization.

GitLab CI/CD

Navigate to your Project's Settings | CI/CD | Runners settings, and enable Shared Runners. (Note: It seems that Shared Runners are automatically enabled when you create a new project.)

Now, whenever you check in a change, the build will run, and your project website will be automatically updated.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Harry

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago