Skip to content

eclipse-lmos/website

Repository files navigation

Deploy website

Eclipse LMOS Website

This website is built using Docusaurus.

Prerequisites

Before you begin, ensure the following tools are installed and running on your local machine:

Using the Development Container

Step 1: Open the Repository in a Dev Container

  1. Clone the repository:

    git clone https://github.com/eclipse-lmos/lmos-website.git
    cd lmos-website
    
  2. Open the repository in Visual Studio Code:

  3. Open the Command Palette (F1 or Ctrl+Shift+P) and select Remote-Containers: Reopen in Container. This will build and open the repository in a Docker-based development container and start the dev webserver.

  4. Open http://localhost:3000/

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.