Skip to content

ComPlat/chemotion_saurus

Repository files navigation

Chemotion Docs

The docs website is built using Docusaurus 2, a modern static website generator. See it live at https://www.chemotion.net

Editing these Docs

As long as your edits are relatively simple i.e. modifying a spelling error, introducing a line or adding a comment, you can use the Edit this page button at the bottom of most pages.

Complex edits and development of Backend

Setup using .devcontainer

The best way of creating a development environment for these Docs is to use a development container. A .devcontainer file is contained in the repository itself.

As long as you have a supported IDE (e.g. VSCode), you can run the following to have a development environment in ~5 minutes.

git clone https://github.com/ComPlat/chemotion_saurus
cd chemotion_saurus
code .

This should launch the IDE and you will get an option to reopen the folder as a container. Use it and you are good to go.

Setting up and starting locally

This presumes that you have node installed.

# install all required packages
npm install
# start local development server
npm start

The second command opens a browser window. Most changes are reflected live without having to restart the server. Press Ctrl + C to stop.

Building

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

# build static content
npm run build
# serve static content
npm run serve

Deployment

code status

The website is deployed with GitHub Actions here.

Acknowledgments

This project has been funded by the DFG.

DFG Logo

Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI4Chem – Projektnummer 441958208 since 2020.