Generating pre-built zip archives for distribution:
$ gulp build dist --prod
Docker
Dillinger is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 80, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
cd dillinger
docker build -t joemccann/dillinger:${package.json.version}
This will create the dillinger image and pull in the necessary dependencies. Be sure to swap out ${package.json.version} with the actual version of Dillinger.
Once done, run the Docker image and map the port to whatever you wish on your host. In this example, we simply map port 8000 of the host to port 80 of the Docker (or whatever port was exposed in the Dockerfile):
docker run -d -p 8000:8080 --restart="always" <youruser>/dillinger:${package.json.version}
Verify the deployment by navigating to your server address in your preferred browser.
Building for source
For production release:
Generating pre-built zip archives for distribution:
Docker
Dillinger is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 80, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
This will create the dillinger image and pull in the necessary dependencies. Be sure to swap out
${package.json.version}
with the actual version of Dillinger.Once done, run the Docker image and map the port to whatever you wish on your host. In this example, we simply map port 8000 of the host to port 80 of the Docker (or whatever port was exposed in the Dockerfile):
Verify the deployment by navigating to your server address in your preferred browser.
Kubernetes + Google Cloud
See KUBERNETES.md
Todos
License
MIT
Free Software, Hell Yeah!