1.0.0 • Published 1 year ago

temp-referral-api v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Widget-and-Hosted-Page

Dev Instructions

  1. Open test.html to see how it looks
  2. Edit script.js as you see fit
  3. run npm i -D tailwindcss to install tailwind locally
  4. possibly, if necessary, run npm install @tailwindcss/forms
  5. run npx tailwindcss -i ./input.css -o ./output.css --watch which will continuously rebuild output.css for you.
  6. This means that you should not edit output.css, you should edit input.css and and tailwind.config.js only.
  7. You'll want to minify the CSS and JS files and then upload to S3 to "deploy".

Deployment Instructions 1. Update the second-to-last line for the widget version. Get the date with the UNIX command date -u. 1. Run python3 deploy.py for DEV or PRODUCTION. Self-explanatory from there. (The script minifies JS/CSS and deploys to S3.)

1.0.0

1 year ago