Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

awstats

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awstats

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

  • 1.1.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 18 Sep 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc