Codehero server image builder from a template, for DigitalOcean build using packer.io. This project will build a snapshot of Ubuntu 14.04 x86 with all needed dependencies and configuration for the Codehero static blog to work.
note: you need the packer binary installed in your machine in order to be able to build the image. You also need to create an API Token in the DigitalOcean admin panel.
First validate that the codehero-template.json script is correct using packer validate
$ packer validate codehero-template.jsonThen export the previously generated API token as DIGITALOCEAN_API_TOKEN in
your computer and build the new image using packer build command.
$ export DIGITALOCEAN_API_TOKEN="your_api_token"
$ packer build codehero-template.jsonWhen packer finishes building the image a new "snapshot" should be created with
the codehero name and a timestamp, e.g. codehero-1422840869.
The license is MIT