This project adheres to GitHub Flow.
To run the project locally:
-
Create a
./public/configuration.js
file, replacing the values with your own:window.__DEVELOPMENT_FORM_ID__ = 1 window.__DEVELOPMENT_FORMS_APP_ID__ = 1 // The following are optional as they have defaults in "index.html" // window.__DEVELOPMENT_SUBMISSION_REDIRECT_URL__ = '' // window.__DEVELOPMENT_CANCEL_REDIRECT_URL__ = '' // window.__DEVELOPMENT_EXTERNAL_ID__ = '' // window.__DEVELOPMENT_PRE_FILL_DATA__ = {} // window.__DEVELOPMENT_TOKEN__ = '' // Set this for authenticated forms
-
Optionally create a
.env.local
file in the root of the project to override the values set in.env
-
npm run start
- This will serve an index.html file located inpublic
dir which includes the project -
The served project will automatically open in your default browser.
-
The files will be recompiled when you make changes, however you will need to manually refresh your browser.
-
Checkout
master
git checkout master
-
Get the latest code
git pull
-
Start the release process using a tag matching
x.x.x-test.x
npm run release
-
Install the release CLI globally
npm i -g @oneblink/release-cli
-
Start a product release and follow the prompts to release this repository
oneblink-release product