GithubHelp home page GithubHelp logo

aj-jester / help-center Goto Github PK

View Code? Open in Web Editor NEW

This project forked from replicatedhq/help-center

0.0 1.0 0.0 38.95 MB

Replicated help center

HCL 0.18% Makefile 1.16% Dockerfile 0.05% HTML 46.38% Python 0.23% Shell 1.07% JavaScript 24.75% CSS 26.18%

help-center's Introduction

Local development

Before you are able to run this locally you need to have NodeJS v8.x, YARN and Hugo installed on your machine. If you already have Hugo installed, make sure you have the latest version.

  1. Install project dependencies

    make install
  2. Back in the root of the project, run

    make build
  3. And then run the project

    make serve
  4. In your browser navigate to localhost:1313 to view the project.

Staging vs Prod

Help center can be built for either staging or prod via:

Prod

 make build
 make serve

Staging

 make build_staging
 make serve_staging

Indexing Content

Included in this project is the hugo-algolia package, which crawls the /content folder of the site and indexes all the content. If you want to re-index the site and/or send new docs content to Algolia, you can use the following commands:

Index the site

This command indexes the whole site and puts content into a single array.

make index-site

Index the site and send content to Algolia account

This command indexes the whole site and sends the array to Algolia.

make index-and-send

You can index and send content to our staging indices via:

make index-and-send-staging

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.