- Downdload and install NSIS (verison
3.0b3). - Install NSIS UAC Plugin:
- Download zip with source files
- Extract
UAC.zip\Plugins\x86-ansi\UAC.dlltoC:\Program Files\NSIS\Plugins\x86-ansi\UAC.dll - Extract
UAC.zip\Plugins\x86-unicode\UAC.dlltoC:\Program Files\NSIS\Plugins\x86-unicode\UAC.dll - Extract
UAC.zip\UAC.nshtoC:\Program Files\NSIS\Includes\UAC.sh
- Right click
build.nsiand selectCompile Script. - Wait for
Quirkbot-Windows-Drivers-Installer.exeto be generated.
You should build and test the release before deploying them:
- Install node dependencies:
npm install
- Update the version in
package.json - Run:
npm run gulp -- build
To deploy to Amazon S3, please create the corresponding configuration
files in /aws-config/[environment].json.
For security, those files should not be included on the repository.
Examples:
{
"key": "YOUR_S3_KEY",
"secret": "YOUR_S3_SECRET",
"bucket": "code-stage.quirkbot.com",
"region": "us-east-1"
}
{
"key": "YOUR_S3_KEY",
"secret": "YOUR_S3_SECRET",
"bucket": "code.quirkbot.com",
"region": "us-east-1"
}
Before deploying, please run the "Building Releases" instructions and make sure everything works as desired. When you are ready to deploy:
- Update the version in
package.json - Run:
npm run gulp -- deploy --environment=stage
or
npm run gulp -- deploy --environment=production