Git Product home page Git Product logo

Comments (11)

tonyc avatar tonyc commented on June 12, 2024

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.

from open890.

tonyc avatar tonyc commented on June 12, 2024

Quick & dirty way to run on Windows 10 without WSL:

  • Clone the repo or download the source.
  • Edit 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"},
  • Install Elixir from here

  • Install Node.JS from here

  • Run a command prompt as administrator

  • Set your environment variables like this:

      set RADIO_USERNAME=youruser
      set RADIO_PASSWORD=yourpassword
    

etc

  • You should be able to follow the regular setup instructions from here. npm install from the assets/ directory, then mix deps.get and iex -S mix phx.server from the main repo directory.

from open890.

tonyc avatar tonyc commented on June 12, 2024

Related issue: bake-bake-bake/bakeware#37

from open890.

tonyc avatar tonyc commented on June 12, 2024

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.

from open890.

kf40 avatar kf40 commented on June 12, 2024

wonderful! let us know how we can do this!
Randy, KF4O

from open890.

tonyc avatar tonyc commented on June 12, 2024

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 😉)

from open890.

kf40 avatar kf40 commented on June 12, 2024

Tony, sorry, when you say "main repo directory" do you mean "open890-main" directory?

from open890.

tonyc avatar tonyc commented on June 12, 2024

Yep, the top-level directory of the code. You should have a mix.exs file in the same directory.

from open890.

kf40 avatar kf40 commented on June 12, 2024

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!

from open890.

tonyc avatar tonyc commented on June 12, 2024

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.

from open890.

tonyc avatar tonyc commented on June 12, 2024

Closing since I've got a path for Windows builds.

from open890.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.