"Habitatize Yourself" (tm) in this web application.
$ export HAB_DOCKER_OPTS="-p 8000:8000"
$ hab studio enter
$ build
$ hab svc start YOURORG/habitatize
Visit the site in your browser at http://localhost:8000
- Build the Habitat package and export it to Docker
$ hab studio enter
$ build
$ hab pkg export docker YOURORG/habitatize
$ exit
$ docker run -p 9000:9000 YOURORG/habitatize
- Install Ruby.
There are a lot of ways that you can do it for your platform. I leave that information to better resources.
- Install ImageMagick
Refer to the installing ImageMagick information below. I provide instructions for a few platforms.
-
Install Gems
$ bundle install
-
Run
$ rackup
Here are are some instructions for installing ImageMagick on a few platforms.
$ sudo yum install ImageMagick-devel ImageMagick-c++-devel
Install Homebrew (https://brew.sh/)
$ brew install pkg-config $ brew install imagemagick@6 && brew link imagemagick@6 --force
Install Chocolately (https://chocolatey.org/install)
$ choco install ruby $ choco install imagemagick --version 6.9.9.9 -PackageParameters InstallDevelopmentHeaders=true