Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.48 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.48 KB

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.