Development guides / ui-dev issue

mginster

Community Member
View Badges
Joined
Sep 22, 2012
Messages
73
Reaction score
33
Rating - 0%
0   0   0
First off, are there any guides to assisting with development in reef-pi?

I am starting some development on reef-pi and am a novice at development. I am on Windows and believe I have my environment all setup properly. I setup based on this guide: https://reef-pi.github.io/additional-documentation/development/

- When trying to run "make ui-dev" it completes, yet I cannot get to anything on localhost:8080
- I did have to remove an argument from api.go in the calls to utils.SystemdExecute as they had 3 arguments and it only accepts 2. I edited lines 204 and 231 to "return utils.SystemdExecute("reef-pi-install.service", false)"
 

SPR1968

No, it wasn’t expensive dear....
View Badges
Joined
Feb 21, 2017
Messages
20,058
Reaction score
124,839
Location
Nottinghamshire England
Rating - 0%
0   0   0
I can’t help with the question but I can bump the thread to see if we can get you some help
 
OP
OP
M

mginster

Community Member
View Badges
Joined
Sep 22, 2012
Messages
73
Reaction score
33
Rating - 0%
0   0   0
I was able to use start-dev and it works.

Still wondering about those two lines though. I wouldn’t think anyone would have committed something that won’t compile.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
reef-pi will not compile on windows without some work. Reef-pi uses linux specific (systemd) and raspberry pi specific (vcgencmd, i2c) things that needs some changes. DevMode bypasses only the raspberry pi side. I do not use windows, hence i will not be able to validate what required to get it back working in windows again.
 

Tentacled trailblazer in your tank: Have you ever kept a large starfish?

  • I currently have a starfish in my tank.

    Votes: 24 30.8%
  • Not currently, but I have kept a starfish in the past.

    Votes: 17 21.8%
  • I have never kept a starfish, but I hope to in the future.

    Votes: 21 26.9%
  • I have no plans to keep a starfish.

    Votes: 16 20.5%
  • Other.

    Votes: 0 0.0%
Back
Top