Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.89 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.89 KB

Publish to GitHub Pages

Best practices documentation website for the Institute of Data Science at Maastricht University.

The documentation website at https://maastrichtu-ids.github.io/best-practices is automatically updated by a GitHub Action when a change is pushed to the main branch 🔄

Contribute 👨‍💻

Contributions are welcome! See the guidelines to contribute.

Edit documentation pages 📝

Editing a documentation file is as easy as going to https://github.com/MaastrichtU-IDS/best-practices/edit/main/website/docs/introduction.md if your account has edit permissions.

Otherwise fork the repository and modify the files you want. Pull requests are welcome!

We recommend using Typora to edit markdown files on your computer.

Run for development

If you want to test it locally: to run from the /website folder.

cd website
yarn install
yarn start

Run with Docker

docker-compose up

Access at http://localhost:3000/

Deploy to GitHub Pages

To run in website/ directory. Make sure the website/build directory has been generated before deploying.

yarn install
GIT_USER=MaastrichtU-IDS CURRENT_BRANCH=main USE_SSH=true yarn deploy

Install Docusaurus boostrap tool

sudo npm install --global yarn
sudo npm install --global docusaurus-init

npx docusaurus-init

Acknowledgments

Documentation website generated using Docusaurus.