Replies: 1 comment 8 replies
-
@tprelog Sorry but why don't simply use a docker file and do a |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have some questions about running the NodeJS version, built from source. But first, a little background about why I'm asking
I've installed zwavejs2mqtt in a jail on my TrueNAS CORE server - So far everything seems to working great. Since the OS is based on FreeBSD, I need to follow the instructions to install the NodeJS or PKG version - The package version is not complied for FreeBSD, so I need to build the project from source.
Rather than building the code downloaded using git, I have modified the package version command, to download the source code for the latest tagged release instead.
tarball_url="$(curl -s https://api.github.com/repos/zwave-js/zwavejs2mqtt/releases/latest | grep tarball_url | cut -d : -f 2,3 | tr -d \",)"
First question
When I compile the code from
source.tar.gz
, I see the following error - I assume this is because I did notgit clone
the repository. Is this going to cause an issue or can it be ignored?Second question
If the answer to the first question is
It's going to cause an issue
-- When I build the project in a directory I cloned, husky does not fail to install. Is there a magic git command, that will always clone the latest tagged release?Third question
Finally, when a new version is released and it's time to update...
A little more background - So to make life a little easier, I basically copied the Dockerfile into a bash script, that compiles the downloaded source code, builds the project in a temp directory, then copies it to an "installed" location.
I should also point out, I set
STORE_DIR
to location outside of the "installed" directory....now back to the question. When
version 1.1.1
was released, I took the following steps to upgrade.1.1.1
) in a temp directoryCan you say if these steps seem appropriate, or can you suggest an alternative steps for upgrades?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions