1.0.0 • Published 2 years 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 tailwindcssto install tailwind locally - possibly, if necessary, run
npm install @tailwindcss/forms - run
npx tailwindcss -i ./input.css -o ./output.css --watchwhich will continuously rebuild output.css for you. - This means that you should not edit output.css, you should edit
input.cssand andtailwind.config.jsonly. - 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
2 years ago