Skip to content

pkorivi/QuirkbotArduinoLibrary

 
 

Repository files navigation

Quirkbot Arduino Library

Building releases

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

Deploying Releases

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:

/aws-config/stage.json

{
  "key": "YOUR_S3_KEY",
  "secret": "YOUR_S3_SECRET",
  "bucket": "code-stage.quirkbot.com",
  "region": "us-east-1"
}

/aws-config/production.json

{
  "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
  • When you are completely satisfied with the deployed release, run:
npm publish
  • Create a git tag.
  • Make a manual Github release and upload the generated quirkbot-arduino-library-*.zip.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 88.8%
  • C 8.4%
  • JavaScript 2.4%
  • Shell 0.4%