Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 531 Bytes

deploy.md

File metadata and controls

27 lines (17 loc) · 531 Bytes

Deployment

Nuts can easily be deployed to a state-less server or PaaS. It only uses the disk as a cache for assets.

With docker

Nuts can also be run as a Docker container:

docker run -it -p 80:80 -e GITHUB_REPO=username/repo gitbook/nuts

On your own server:

Install dependencies using:

$ npm install

The service requires to be configured using environment variables: you'll need to copy the .env.example file to .env and fill the variables.

Then start the application using:

$ npm start