Update Installer
SOAJS Installer consist of the following:
soajs.installer: the binary that can be downloaded from her https://www.soajs.org/install
soajs.installer.local: to help you install soajs locally and create a local development environment.
soajs.installer.remote: to help you install soajs on a container cluster remotely aka kubernetes.
soajs.installer.versions: the release note and package dependencies
4 different updates you might need to deal with after you install SOAJS
Update soajs.installer: we call this installer binary update
Update soajs.installer (local, remote, versions): we call this installer code update
Update soajs console locally: we call this local console UI update
Update soajs console remotely: we call this remote console UI update
1- For installer binary update: follow theses steps
Download the latest version fo SOAJS installer: https://www.soajs.org/install
Backup the file config.js from the existing soajs.installer/etc/config.js
cp -R .../soajs.installer/etc/* .../backup/Delete the existing soajs.installer folder
rm -Rf .../soajs.installerUnzip the new installer and copy it to the same location
cp ~/Downloads/soajs.installer.zip .../unzip .../soajs.installer.zipCopy the backed up config.js into soajs.installer/etc/
cp -R .../backup/* .../soajs.installer/etc/To check the versions runTo check the versions run
cat .../soajs.installer/package.json
2- For installer code update: follow theses steps
To update follow the following steps
.../soajs.installer/INSTALLif you face permission problem running the above command, try this first:chmod 777 -R .../soajs.installerTo check the versions run
soajs --helpyou will notice that the --help will print at the end the following:=======================
SOAJS Installer Versions:
Installer package [version] <= the BINARY version
Installer local [version]
Installer remote [version]
Installer versions [version]
install SOAJS console locally and create local development environment for your different catalogs (API, Daemons, Frontend, Resources, etc...). However the installer has its own code base and binaries and you need to update this every time we release a new version of soajs.installer.
Please note that we are talking about the installer update and not SOAJS console update. To update SOAJS console simply run this command:
sudo soajs console update
3- For local console UI update: follow theses steps
After updating the installer, you can go ahead and update the console as follow:
sudo soajs console update
3- For remote console UI update: follow theses steps
Contact SOAJS at: https://www.soajs.org/contactUs