@camslingshot/slingshot-web-form-widget

0.1.0-rc.18 • Public • Published

This project was originally bootstrapped with Create React App.

Table of Contents

Purpose

This repo serves as the web form for our clients to put on their sites. This form pulls configuration from the web app and submits data to the web app as well.

Deploying New Versions of the Form

There are two places to deploy this form when we make a change:

  • NPM package (for the configuration tool in the webapp)
  • Google Cloud (for distribution to clients' sites)

Deploying to NPM

When a form update is made, let me know and I'll deploy to NPM for you. The process for right now, though, is as such:

Right now the package is owned by myself. You can find it here: https://www.npmjs.com/package/@camslingshot/slingshot-web-form-widget

  1. Bump the version in package.json
  2. Comment the proper code out of src/index.js (it's notated, so you should see it)
  3. Run npm publish from the application root

Deploying to Google Cloud

Everything necessary to deploy to GCP should be housed in scripts/deploy.js -- this happens automatically when code is merged to master thanks to the power of Gitlab Pipelines.

Readme

Keywords

none

Package Sidebar

Install

npm i @camslingshot/slingshot-web-form-widget

Weekly Downloads

1

Version

0.1.0-rc.18

License

none

Last publish

Collaborators

  • camslingshot