Secure asset register (Vault Asset Log)
- Ensure build machine has Node v18.x and yarn v1.22.x installed
- Download a zip snapshot from GitHub (probably from the newest Release)
- run
yarncommand in root project folder to install/update dependencies
- run
yarn build:prodto create production instance - zip up whole folder and transfer to host device
- run
yarn serveon host device
It is possible to produce a build of VAL that cosmetically changes the color scheme and application title to make it clear that this is a test instance, not a production instance.
- run
yarn build:testto create test instance - zip up whole folder and transfer to host device
- run
yarn serveon host device
- Clone the project form github
- run
yarncommand in root project folder
- Run command
yarn preparein root project folder
- Run command
yarn buildin root project folder, this will create a deployment in thedistsub-folder
- Run command
yarn devin root project folder
- Run command
yarn serve:soulin root project folder
When running the serve or serve:dev commands, soul-cli executes and passes
most of the keys to the soul commands,
such as PORT, DB, TOKEN_EXPIRATION_TIME, and others.
However, please note that, for security reasons, the TOKEN_SECRET key is extracted
from the environment variables, or the .env file in the VAL installation folder. An example of the .env file is provided here.