evanmiller/ChicagoBoss — Issue #69: some notes for improved windows support
Author: dch
Created: 2012-02-02 00:30:00+00:00
State: open

atm this is a bunch of raw notes as I went along

## environment
- Windows 7 x64
- installed MSVC SDK 7.1 x64 version
- OpenSSL and R15B installed, added to path. I put the two *eay32.dll directly into R15B/bin folder.
- installed http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.6.exe
- run mingw from c:\mozilla-build\start-msvc10.bat
- add R15B/bin to bash path also

## Make

- make all hangs on riakc
- the rest seem fine
- make boss is sufficient for our neeeds

## rebar
- copying rebar to rebar.cmd and editing first line as `@echo off & path=%path%;%~dp0; & escript.exe "%~dpn0.cmd" %* & goto :eof` allows rebar to work directly in a windows shell, assuming erlang is in the path
- this should allow making a windows version of init.sh that actually works
- init.sh should skip -detached and +K true, maybe use +A 4 instead

After all of this, the rest runs fine - like a BOSS!

## packaging
If I have time tomorrow or friday I'll turn this into some sort of sfx exe for ChicaogoBoss.