Ignore the "andrew-Magnify" folder
Do NOT directly edit the objects and surrounding comments in the press.js file.
- If the software tools jq, npm and the npm package csvtojson aren't already installed, install them, or step 3 will generate errors.
- Download the finalized-press-data sheet from the Speaker/Workshops/Features Google Sheet containing the edits you wish to apply.
- In the command line (from the root of the Magnify-Wellness-Official directory), run
bash ./update-press-with-csv.sh PATH/TO/CSV_FILE
, which runs a custom bash script to update press.js based on a csv file.
If you have any questions, please ask Katie Taylor.
The Slack invite link expires every 3-4 weeks. In order to keep it up to date and ensure that potential community members do not get deterred by a invalid link, we need to update it every so often. To update it, generate a new link from the Slack workspace and edit the links on get-involved.html
and contact.html
.
-
Navigate to
merch
folder, then openmerch.js
-
Copy the following and add in the proper information, making sure to leave quotation marks, commas, and curly braces where they are. It's okay to leave the imgSrc and itemLink blank if they are not available:
{ name: "INSERT ITEM NAME", price: "$INSERT ITEM PRICE", imgSrc: "INSERT LINK TO THE IMAGE", itemLink: "INSERT LINK TO THE ITEM WEBPAGE", },
-
Add the item to the end of the merchItems array