Giter VIP home page Giter VIP logo

csmi-stages-2021's Introduction

Master CSMI

CI

Generating the document

Prerequisites

Antora is built on Node.js and is verified to work on Linux, macOS, and Windows. To install Antora, you’ll need Node (including npm, which is bundled with Node) on your system. You may also find the base build tools for your OS helpful (which includes git), though they’re not required. We recommend using the latest long term support (LTS) release of Node. While you can use other versions of Node, Antora is only tested against {url-node-releases}[active LTS releases].

To check whether you have Node installed, and which version, open a terminal and type:

$ node --version

If this command fails with an error, it means you don’t yet have Node installed. If the command doesn’t report an active Node LTS version (e.g., v{version-node}), you don’t have a suitable version of Node installed.

The best way to install Node is to use {url-nvm}[nvm] (Node Version Manager). If your package manager provides Node and npm packages, and you’re familiar with using the tools installed system-wide, you may choose to go that route. However, we believe you’ll be more successful if you choose nvm.

Note
Most CI environments use nvm to manage the version of Node used in the build job. By using nvm, you align your local setup with the environment used to generate and publish your production site.

If you’re using Linux or macOS, follow {url-nvm-install}[the nvm installation instructions] to set up nvm on your machine. If you’re using Windows, you can install the {url-nvm-windows}[Windows port of nvm] via the {url-choco}[Chocolatey package manager] using choco install -y nvm. Alternatively, you can install the LTS release of Node directly using choco install -y nodejs-lts.

Once you’ve installed nvm, open a new terminal and install the latest Node LTS release using:

$ nvm install --lts
Important
If you’re using nvm for Windows, you must enter the full version of Node when running commands (e.g., nvm install {version-node}, nvm use {version-node}). Run nvm list available to see a list of available Node versions.

To make Node 12 the default in new terminals (Linux and macOS only), type:

$ nvm alias default 12

Switch to this version of Node using the following command:

$ nvm use 12

Now that you have Node installed, you can install Antora.

Install Antora

install antora
npm install
run antora in dev mode
npm run dev
serve the web site
npm run serve

csmi-stages-2021's People

Contributors

5tux avatar amelsarra avatar barukmcbaruk avatar bernard-pierre avatar celiacaelius avatar celinelorentz avatar cocodozo avatar ddrous avatar diovegaz avatar guillaume-steimer avatar houachour avatar jermuzet avatar jimmym33 avatar kermezliikram avatar kleinanita avatar lilredhood avatar lotus-prog avatar luc-ank avatar melissauntz avatar mgrigoryan9 avatar mreitzer avatar philand avatar prudhomm avatar qloeb avatar sprunckt avatar stevederose avatar thomas-saigre avatar vincentitaliano avatar vlceline avatar youness-elh avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

kermezliikram

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.