Web frontend for submitting objections to a company being struck off the register.
In order to run the service locally you will need the following:
To checkout and build the service:
- Clone Docker CHS Development and follow the steps in the README.
- Run ./bin/chs-dev modules enable strike-off-objections
- Run ./bin/chs-dev development enable strike-off-objections-web (this will allow you to make changes).
- Once the service and Dev mode is enabled it is good to do a build (make clean build) on the service locally by getting into ./repositories/strike-off-objection-web
- Run docker using "tilt up" in the docker-chs-development directory.
- Use spacebar in the command line to open tilt window - wait for strike-off-objections-web to become green.
- Open your browser and go to page http://chs.local/strike-off-objections
These instructions are for a local docker environment.
Key | Example Value | Description |
---|---|---|
API_UR | http://host:port | Required for accessing the backend application |
CACHE_SERVER | redis | Required for storing values in memory |
CDN_HOST | http://<cdn_host> | Address of chs styling for the frontend |
CHS_URL | http://chs.local | Used when navigating to the webpage |
COOKIE_DOMAIN | chs.local | |
COOKIE_EXPIRATION_IN_SECONDS | 3600 | |
COOKIE_NAME | SID | |
COOKIE_SECRET | <signing_key> | |
COOKIE_SECURE_FLAG | 0 | |
DOWNLOAD_FILENAME_PREFIX | CH_SO_OBJ_ | |
INTERNAL_API_URL | http://host:port | |
HUMAN_LOG | 1 | |
LOG_LEVEL | DEBUG | |
MAX_FILE_SIZE_BYTES | 4194304 | |
SHOW_SERVICE_OFFLINE_PAGE | false | Feature Flag |
For further information on running building and testing ch node js apps see the Node Web Starter page.