- Notifications
You must be signed in to change notification settings - Fork291
labstack/echox
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- 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 theofficial Node.js website (https://nodejs.org). Or you could use NVM (https://github.com/nvm-sh/nvm) to use appropriateversion 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 websitenpm installnpm start
This will serve website onhttp://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"