go run
skywire without cloning this repo
#1908
Labels
documentation
Improvements or additions to documentation
go run
skywire without cloning this repo
#1908
Demo
If one has golang, git, bash and some other parsing utility (like
awk
) it's possible to run skywire without cloning the repo in the following way:Known Issues
Suggested Actions
We should include a systemd service (and perhaps a script as well) for running skywire in this way, if it's possible to get the version to be automatically generated & compiled into the binary.
Deployment Strategy
The strategy for running skywire in this way should follow this general outline:
/etc/skywire.conf
SKYENV=/etc/skywire.conf
on config geni.e. - a shorthand example
Notes
local
path where the visor will write any files at runtimeApps
It may not be possible to run apps unless the binary is compiled and placed in a known location. However, it should be possible to change the app location or command which starts the apps to
os.Args[0]
in order to use the compilation of skywire which is generated inside/tmp
when skywire is executed withgo run
- in other words, to use the same binary as is already running.Pros & Cons
Advantages
Disadvantages
The text was updated successfully, but these errors were encountered: