This website is built using Docusaurus.
Before you begin, ensure the following tools are installed and running on your local machine:
-
Clone the repository:
git clone https://github.com/eclipse-lmos/lmos-website.git cd lmos-website
-
Open the repository in Visual Studio Code:
-
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.
$ npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.
$ 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.