Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vsevagen/update-signup
https://github.com/vsevagen/update-signup
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vsevagen/update-signup
- Owner: VSevagen
- Created: 2023-06-30T15:23:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-04T04:01:23.000Z (over 1 year ago)
- Last Synced: 2024-11-04T08:42:26.946Z (2 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Goal
This script will update all signup components except the ones where the title contains any substrings from config.excludedSignups.
For the ones which will be updated, everything (title, subtitle, icons, labeltext, link, signupcta), except the VortexScenario, will be updated.### Steps (Manual configuration before running script)
1. Update content model for signup with 2 new fields
- Subtitle - Short Text field
- Link - Reference field (Link type only)
2. Upload the 3 new assets in the asset section for contentful. Refer to US market for the assets
3. Create 3 new Icon entry with the 3 new assets uploaded and add the entryID for the 3 icons in the config.json file
4. Create a new Link entry and add the entryID for the Link in the config.json file### Execute Script
1. Run "npm i --dd" with npm 8.11.0
2. Update the config.json file with the appropriate information
3. Run "node index.js" to run the scriptAll entries published/drafted will be available in the log.txt file