Habitatize
"Habitatize Yourself" (tm) in this web application.
Building and Running with Habitat
$ 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 8000:8000 YOURORG/habitatize
Building and Running with Ruby
- 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
Install ImageMagick
Here are are some instructions for installing ImageMagick on a few platforms.
CentOS
$ sudo yum install ImageMagick-devel ImageMagick-c++-devel
Mac OSX
Install Homebrew (https://brew.sh/)
$ brew install pkg-config $ brew install imagemagick@6 && brew link imagemagick@6 --force
Windows
Install Chocolately (https://chocolatey.org/install)
$ choco install ruby $ choco install imagemagick --version 6.9.9.9 -PackageParameters InstallDevelopmentHeaders=true