Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 647 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 647 Bytes

regenesis-scraper

local testing

  1. start the build server

    npm run start
    
  2. start the offline server

    AWS_ACCOUNT_ID=************ \
      GENESIS_PWORD=****** \
      GENESIS_UNAME=****************** \
      GENESIS_URL=********************************************* \
      npm run local
    
  3. trigger an event

    
    AWS_ACCOUNT_ID=************ \
      GENESIS_PWORD=****** \
      GENESIS_UNAME=****************** \
      GENESIS_URL=********************************************* \
      npx serverless invoke local \
      --function grades_write \
      --data '{"studentid":*******}'