Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

A Sinatra app for submitting support and registration requests via the product page

Notifications You must be signed in to change notification settings

alphagov/paas-submit-enquiry-form

Repository files navigation

paas-submit

Embedable form widgets for product page

Usage

  • Deploy to somewhere.
  • Visit the app in browser for instructions on how to embed the various form widgets.

Configuration

The following environment variables should be set for correct deployment

variable required description
DESKPRO_API_KEY yes agent api key
DESKPRO_ENDPOINT yes endpoint url (ie "https://accountname.deskpro.com")
DESKPRO_TEAM_ID no id of team to assign tickets to

Development

Dependecies:

  • Ruby
  • Node/npm (only required if recompiling sass)

To start the server locally in development mode:

DESKPRO_TEAM_ID=1 DESKPRO_API_KEY='REDACTED' DESKPRO_ENDPOINT='https://account.deskpro.com' make dev

To recompile the stylesheet edit sass/screen.css then run:

make public/screen.css

Other things:

make help

About

A Sinatra app for submitting support and registration requests via the product page

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published