redis / redis-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redis website

This project is a Docsy, which is a Hugo theme, that's adapted for Redis' documentation website.

When cloning, make sure to bring in the submodules:

git clone --recurse-submodules --depth 1 https://github.com/redis/redis-website.git

Note: if you want to do SCSS edits and want to publish these, you need to install PostCSS

npm install postcss

Running the website locally

Building and running the site locally requires a recent extended version of Hugo.

You can find out more about how to install Hugo for your environment in Docsy's Getting started guide.

IMPORTANT: you'll also need the redis-doc/new-structure branch for this to work.

Once you've made your working copy of the site repo, from the repo root folder, run:

REDIS_DOC=/home/you/redis-doc make
hugo server --disableFastRender

The website should be up and running on http://localhost:1313/ now.

About

License:Apache License 2.0


Languages

Language:HTML 47.1%Language:JavaScript 25.1%Language:Python 11.0%Language:SCSS 9.5%Language:Makefile 3.0%Language:CSS 2.1%Language:Shell 2.1%Language:Dockerfile 0.1%