Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

EasyWebApp/create-git-web-site

Repository files navigation

create-git-web-site

Static Web site generator

NPM Dependency

NPM

Installation

  1. Create a GitHub repository with a ReadMe at least

  2. Enable GitHub pages of this repository

  3. Create an Application in your Cloud service which supports GitHub web-hook (such as LeanCloud)

  4. Create a Web-hook in this repository, then set it into your Cloud App

  5. Execute commands below:

git clone https://github.com/your/git-repo

cd git_repo

npm init web-site --CDN https://your-app.cloud-example.com/

git add .

git commit -m "[ Add ]  Web-site main framework"

git push origin

Usage

Just create & edit MarkDown files in ./article/ folder of your repository in Web browser, the Site-generator will build static pages automatically in your Cloud App!