Coder Social home page Coder Social logo

whdalsrnt / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbokyung2/docs-cloudforet

0.0 0.0 0.0 562.91 MB

Documentation Site

License: Creative Commons Attribution 4.0 International

Shell 0.04% JavaScript 2.26% HTML 38.81% Dockerfile 0.63% SCSS 56.48% Mustache 1.79%

docs's Introduction

Cloudforet Document

How to use this repository

Prerequisities

You need following installed locally

  • npm
  • Go
  • Hugo(Extended version)
  • Docker & Docker Compose

Before we start, install the dependencies, Clone the repository and navigate to the directory.

git clone --recurse-submodules --depth 1 https://github.com/[username]/docs

cd docs

Cloudforet blog uses Docsy Hugo theme. So, we strongly recommend pulling in the submodule and other developmment dependencies by running the following.

# pull in the Docsy submodule
git submodule update --init --recursive --depth 1

Install PostCSS

To build Cloudforet blog, you also need PostCSS to create the final asset. If you need install it, you must have recent version of NodeJS installed on your machine so you can use npm.

npm install --no-optional -D --save

Running Blog locally

Set MacOS max file limit

You should set maxfiles limitation; docsy issue

sudo launchctl limit maxfiles 65535 200000
ulimit -n 65535
sudo sysctl -w kern.maxfiles=200000
sudo sysctl -w kern.maxfilesperproc=65535

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

hugo server -D

Running Docker container locally

You can run Cloudforet blog by inside a Docker container.

docker-compose up --build

Open you web browser type http://localhost:1313 in your navigation bar.

To stop Docker Compose, on your terminal window, press Ctrl + C.

To remove the produced images run:

docker-compose rm

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.