1.0.0 • Published 1 year ago
temp-referral-api v1.0.0
Widget-and-Hosted-Page
Dev Instructions
- Open test.html to see how it looks
- Edit script.js as you see fit
- run
npm i -D tailwindcss
to install tailwind locally - possibly, if necessary, run
npm install @tailwindcss/forms
- run
npx tailwindcss -i ./input.css -o ./output.css --watch
which will continuously rebuild output.css for you. - This means that you should not edit output.css, you should edit
input.css
and andtailwind.config.js
only. - 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