Hey there I have been unable to get WHM working thus far, regardless of network. My current environments are:
Ubuntu 18.04
nvm 0.33.11
→ Installed node 8.0.0
yarn 1.12.3 (installed from PPA)
git 2.17.1
safe_browser: Built from source as well as prebuilt (Peruse-v0.7.0-linux-x64-dev/Peruse-v0.7.0-linux-x64)
(regardless of network, they run fine, I just can’t get WHM to talk with them, re xdg-open issues)
WHM: Built from source following README from repo. At best it makes a request to the browser and never hears back. Tried on second Ubuntu 18.4 (I think) linux computer and ran into roughly the same issues and went for a Windows VM:
Windows 10 (I’m not on it currently, so I’m making some rough estimations now)
installed git
installed nvm
installed yarn
Found solutions to download VS addons/something to get Python in the path (tried installing manually, didn’t work, ended up with a npm command I believe)
Got windows safe_browser working fine from prebuilt
Build errors (during ‘yarn’) relating to flow-typed, upgraded version
Build stalled out without errors and won’t complete
WHM will “run” but fails due to missing libraries probably due to the stalled build
I have heard reports that WHM does run for some people on Windows, I don’t know if there are issues because I’m running in a VM (IMO that shouldn’t affect it) or I’m missing something, anyone have tips there?
Alternately, I don’t mind writing a small amount of code to work with the APIs directly, it’s just very sub-optimal. I have seen little excerpts that generally describe the process for working with the API, but again, the documentation that I have seen thus far is not complete enough that I’d want to attempt building something.
That said, if anybody can point me to any scripts that will allow for:
- Creation of safe:// url
- Definition of mutable content (the trip planner/todo example did half of this, the other half was broken)
- Upload even a single HTML file to the safe url
- Ideally standard update/delete options
I am comfortable writing/modifying node scripts which seems to back a lot of examples here, the main problem is getting those to communicate with the safe browser. (if they run a light server that can be loaded locally, awesome) After that, there is discrepancy between info in the examples (like the API playground) versus guides due to code being updated, and it’s usually a bad idea to try to develop against APIs without supporting documentation.
Any other tips/suggestions? Guides/walkthroughs/tutorials? At the end of the day I just want to upload content to a safe:// url and have spent the better part of the week running into walls. A really want to love the maidsafe project and contribute to its success, it’s just really hard when a fairly experienced linux fan with years of general development experience can’t get the tools to work after a week of tinkering and asking for help. Super frustrated!
That said, thanks for all the input