crunchcrunchcrunchstack icon indicating copy to clipboard operation
crunchcrunchcrunchstack copied to clipboard

Documentation?

Open pieterclaerhout opened this issue 3 years ago • 1 comments

This looks like a really good way to get started, but I'm missing instructions on how to run / debug / build…

pieterclaerhout avatar Mar 20 '21 11:03 pieterclaerhout

@pieterclaerhout I did the following to get this up and running, please note that I haven't worked with Node.js (or any part of this stack) before. If you're starting from scratch like me:

  1. Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  1. Install the LTS version of Node.js:
nvm install v14.17.0
  1. Clone this repository.
  2. With npm, install the package and the dependencies specified in the package.json file:
npm install
  1. Build:
npm run build
  1. Run the server:
go run main.go handle_greeter.go routes.go
  1. Browse to localhost:8080.

That is enough to get started! :smiley:

mikejoh avatar May 24 '21 14:05 mikejoh