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,060
Reaction score
124,872
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,069
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.
 

Figuring out the why: Has your primary reason(s) for keeping a saltwater aquarium changed over time?

  • My reasons for reef keeping have changed dramatically.

    Votes: 8 7.9%
  • My reasons for reef keeping have somewhat evolved.

    Votes: 43 42.6%
  • My reasons for reef keeping have no changed.

    Votes: 49 48.5%
  • Other.

    Votes: 1 1.0%
Back
Top