README
Blade save native app
Initial-setup
- Install nodejs 8 or greater
- Clone the project
npm installnpm link- Run:
bladesave run -O C:\Users\bladesave\output -S "secret key" >> cloud-prod.log 2>&1 - Or:
bladesave run -O C:\Users\bladesave\output -S "secret key"to see the logs in the console instead of sending them to a file
Development
- Make changes to the codebase
- Run:
npm linkto build and point the symlink to the current version - Use the CLI as described at README.md#Initial-setup
Release
- Make sure you have a
_authTokenwith write privilege in the.npmrcfile(See: README.md#Production) - Run:
npm run release - Follow the steps
Production
- Install NodeJS:
- Download node from here https://nodejs.org/dist/v10.9.0/node-v10.9.0-x64.msi
- Make sure you have a
.npmrcfile in your user root directory (/Users/<youruser>/.npmrcorC:\Users\<youruser>\.npmrc): - The
.npmrcfile should contain:
//registry.npmjs.org/:_authToken=<NPM_TOKEN_FROM_ASSIST>
scope=assist-software
@assist-software:registry=https://registry.npmjs.org/
- Run:
npm i -g @assist-software/bladesaveto install the CLI program - Help:
bladesave run -h - Start the program:
bladesave run -O C:\Users\bladesave\output -S "secret key"