18F / imls-pi-stack

Other
7 stars 0 forks source link

Document Windows build #66

Open jadudm opened 2 years ago

jadudm commented 2 years ago

Creating this issue as a placeholder:

  1. Installed msys2 (https://msys2.org/)
  2. Installed git (https://packages.msys2.org/package/git)
  3. Installed golang (https://packages.msys2.org/package/mingw-w64-x86_64-go)
  4. Configured exports (https://stackoverflow.com/questions/37198369/use-go-lang-with-msys2)

make worked in the imls-raspberry-pi directory.

cd into the cmd/session-counter directory.

make worked.

Passing through a USB device to the VM. Your virtual machine manager may vary. (This mattered for @jadudm)

Started with the config.sqlite in the test directory. Not sure what a production config should be right now...

jadudm commented 2 years ago

Installed sqlitebrowser for Windows by visiting the site and grabbing the standard msi installer. Possibly not strictly needed, but handy. Also, I can't remember what is in config.sqlite.

jadudm commented 2 years ago

Install wireshark. https://www.wireshark.org/download.html

Selected "support raw 802.11 traffic (and monitor mode) for wireless adapters." Unsure if this is required. Also selected the third option re: Npcap (?). Failed to document it well. :/

jadudm commented 2 years ago

Inno setup is a potential installer builder if we need one. I suspect it can bundle everything up, and is scriptable in Pascal. Because we need some more languages in this project.

I can't remember if we used that or the NSIS builder (https://helpdeskgeek.com/free-tools-review/4-tools-to-create-windows-installer-packages/). This was years ago for a different project, and I'd have to look to see if the repo for that is still alive.

(I can't find the repo with the installer builder.)