- Go into any cookbook folder and run
go run server.go
- Ensure that you have Node.js installed on your computer. If you don't have it, download and install it from the official Node.js website (https://nodejs.org). Or you could use NVM (https://github.com/nvm-sh/nvm) to use appropriate version of Node.
- Inside the
website
folder, install the required dependencies by running the following commandnpm install
. - Run the website locally by running the following command
npm start
.
cd website
npm install
npm start
This will serve website on http://localhost:3000/
docker run --rm -it --name echo-docs -v ${PWD}/website:/home/app -w /home/app -p 3000:3000 -u node node:lts /bin/bash -c "npm install && npm start -- --host=0.0.0.0"