Miss any of our Open RFC calls?Watch the recordings here! »

dashboard-export

0.1.2 • Public • Published

DASHBOARD EXPORT

How To Use:

make sure you will be using NODE 6.10 NO EXCEPTIONS!

npm run build

upload to lambda the zip file

example implementation in test.js

sample payload

      {
        "AWS_ACCESS_KEY_ID": "AWS_ACCESS_KEY_ID",
        "AWS_SECRET_ACCESS_KEY": "AWS_SECRET_ACCESS_KEY",
        "Bucket": "space-buckets",
        "checklists": [
          {
            "id": 158,
            "with": [
              {
                "agentId": [1,2],
                "propertyId": [1,2],
              },
            ],
            "startDate": "2017-07-02T16:00:00.000Z",
            "endDate": "2017-07-18T16:00:00.000Z"
          },
        ],
        "db": {
          "address": "rds.somewhere.org",
          "username": "username",
          "password": "password",
          "name": "mewe"
        }
      }

DEVELOPMENT

create container that is connected to your v2_database_1 container

  docker run -itd --link v2_database_1:db --name dashboard-export -v `pwd`:/app -w /app --network=v2_default node:6.10.3

  docker exec -it dashboard-export bash

  yarn

Keywords

Install

npm i dashboard-export

DownloadsWeekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

164 kB

Total Files

19

Last publish

Collaborators

  • avatar