Socket
Socket
Sign inDemoInstall

awstats

Package Overview
Dependencies
56
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    awstats

A fast , static files generator framework , powered by Node.js


Version published
Weekly downloads
23
increased by228.57%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

AWStats

A fast , static files generator framework , powered by Node.js

master dev MIT License

Quick Start

前提:你的电脑必须安装Node.js才能启动该项目

Install AWStats

npm install awstats-cli -g

Initialize AWStats

awstats init AWStats-HomePage

cd AWStats-HomePage # 进入初始化的目录

## 你也可用使用以下方式

mkdir AWStats-HomePage # 创建目录(自定义)

cd AWStats-HomePage # 进入创建的目录

awstats init # 初始化

Other Commands

awstats init # 初始化 可缩写为: aws i

awstats generate # 生成 aws g (以此类推输入首字母即可)

awstats minify # 压缩

awstats server # 本地预览

awstats deploy # 部署

awstats clean # 清理

Themes

如没有themes目录可自建

在 themes 目录下可以新建你的主题(例如:./themes/HomePage),主题文件下可以新建config.yml主题配置文件,新建template目录,存放你要生成的页面(文件后缀为.ejs),static静态资源

可以参考:HomePage

lib
    |-- xxx
themes
    |-- HomePage
        |-- static
            |-- css
            |-- js
            |-- images
            |-- fonts
            |-- xxxxxx
        |-- template
            |-- index.ejs
            |-- 404.ejs
            |-- xxxx(可新建文件夹)
config.yml
package.json

HomePage: 主题昵称

static: 静态资源

template: 模板

License

MIT

Keywords

FAQs

Last updated on 18 Sep 2022

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