Skip to content

Latest commit

 

History

History
56 lines (23 loc) · 1.62 KB

README.md

File metadata and controls

56 lines (23 loc) · 1.62 KB

Preview image

rainmeter-www

Source code of the Rainmeter homepage. To view the actual site, check out rainmeter.net.

Built using Hexo. Content licensed under Creative Commons BY-NC-SA 3.0.

Installation

You need to have Node v8.11.1 and Git installed.

$ git clone https://github.com/rainmeter/rainmeter-www.git

$ cd rainmeter-www

$ npm install   # This will install all dependencies required

$ npm install hexo-cli -g    # REQUIRED, needs to be installed globally to make Hexo run properly
$ npm install postcss-cli -g   # OPTIONAL, might be required on some systems

Usage

$ npm run start   # Starts the local webserver for development.

$ npm run build   # Generates the static files in _generated.

$ npm run deploy   # Generates and deploys the files.

$ npm run clean   # Cleans the cache file (db.json) and generated files (public).

If you want to deploy the website yourself, you have to modify the _config.yml file to your settings. You also might have to install additional packages, read more about this Hexo Documentation: Deployment here.

Warning:

Please keep using the built-in Hexo commands as this website uses postcss-cli to automatically add vendor prefixes to some CSS properties and minify the file at build time. Alternatively you can use the build.sh, deploy.sh or clean.sh scripts to use the different functions above.