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

OpenUpSA/idp-process-guide

Repository files navigation

Participation Guide frontend

WebFlow Export + ES6 built with parcel.

Development environment

yarn install
yarn start

Import Webflow Export

Install: npm install --global import-webflow-export

Run: import-webflow webflow-export.zip

More info here: https://github.com/OpenUpSA/import-webflow-export

Custom frontend hostnme

The frontend passes its hostname to the backend to supply relevant by default. In development, you probably want to provide an alternative hostname.

Provide the hostname with the querystring variable hostname e.g. visit http://localhost:1234/?hostname=somemunicipality.gov.za

Custom backend hostname

The frontend connects to the production backend by default. In development you might want to connect to an alternative backend.

Provide a custom backend URL using promptapi in the querystring e.g. visit http://localhost:1234/?promptapi

Production deployment

Ensure the backend has configuration for the frontend hostnames.

yarn
yarn build # compile the relevant bundles for production

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •