Built using docusaurus.io
- Install Node.JS
- Open a terminal and install use
cd
to go to the code directory - Install packages:
npm install
- Setup pre-commit hooks:
pip install pre-commit && pre-commit install
- Run server
npm run start
- Go to http://localhost:3000/
- Build the site
npm run build
- Deploy the site
npm run serve
- Run
git config core.ignorecase false
in command line so github picks up on capitalization in file/folder names
Algolia is used to implement the search bar
Whenever text changes, Algolia needs to run a crawler to collect all the data
- Need to install jq
docker run -it --env-file=.env -e "CONFIG=$(cat algolia.config.json | jq -r tostring)" algolia/docsearch-scraper
- Install Git LFS: https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage
- On mac:
brew install git-lfs
- On linux:
sudo apt install git-lfs
- On mac:
- Install it:
git lfs install
- Configure files to use LFS
git lfs track "*.pkl" "*.pickle" "*.jpg" "*jpeg" "*.png" "*.mp4"
- To pull the files:
git lfs pull