Closed tonyc closed 3 years ago
Currently failing due to bakeware step failing, but if the bakeware stuff in mix.exs
is commented out, the project builds.
Compiling 1 file (.ex)
Generated elixir_make app
==> bakeware
could not compile dependency :bakeware, "mix compile" failed. You can recompile this dependency with "mix deps.compile bakeware", update it with "mix deps.update bakeware" or clean it with "mix deps.clean bakeware"
==> open_890
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.
Quick & dirty way to run on Windows 10 without WSL:
mix.exs
, and comment out/remove the following lines:Towards the top of the file within the def project do
block:
releases: [{:open890, release()}]
Towards the bottom of the file inside def deps do
:
{:bakeware, "~> 0.1.4"},
Set your environment variables like this:
set RADIO_USERNAME=youruser
set RADIO_PASSWORD=yourpassword
etc
npm install
from the assets/
directory, then mix deps.get
and iex -S mix phx.server
from the main repo directory.Related issue: https://github.com/bake-bake-bake/bakeware/issues/37
I was able to successfully run a release that I manually built, on a separate Win10 machine that did not have Elixir/Erlang installed, so this seems quite doable.
wonderful! let us know how we can do this! Randy, KF4O
wonderful! let us know how we can do this! Randy, KF4O
For now, you'll need to follow the manual process I outlined above. I don't have an automatic build process available for Windows, and Windows support is not at the top of my list right now (although it is not necessarily at the bottom of the list either 😉)
Tony, sorry, when you say "main repo directory" do you mean "open890-main" directory?
Yep, the top-level directory of the code. You should have a mix.exs
file in the same directory.
okay, all looking good now.... one last question... how do we start the program now (Radio on and on the web)? Sorry for all the questions.. thanks much again!
It's all in my comment above, and in the README. Set your config variables, run mix phx.server
and then browse to http://localhost:4000
If you still need help, we can bring it over to the discussion area.
Closing since I've got a path for Windows builds.
There's a general desire to run or build open890 on Windows 10, but without using WSL.
If anyone is interested, you can try it out by downloading the Windows version of Elixir, checking out the code, and seeing if you can get it up and running.
If that works, then it should theoretically be possible to do a binary release using Github Actions automatically.