Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start Docker, open a terminal in the /chefs_build directory, and run the following command:

    Code Block
    docker compose up

    This will start up an instance for your Keycloak and PostgreSQL containers. If you don’t want to keep the terminal open, you can append a -d to the end of the command above.

  2. Next, open a terminal in the directory /common-hosted-form-service/app and run the following commands:

    Code Block
    npm install
    npm run migrate
    npm run seed:run
    npm run serve

    This will start the process for the CHEFS API.

  3. Open another terminal in the directory /common-hosted-form-service/app/frontend and run the following commands:

    Code Block
    npm install
    npm run serve

    This will start the process for the CHEFS front end.

Additional Resources

External Access

For users accessing CHEFS externally, navigate to the Keycloak login page. Under Configure > Clients > chefs-backend and chefs > Web Origins add an asterisk * which will solve the 403 Forbidden Error.

Common Services API Access

This service requires an IDIR account. You can open this link https://getok.nrs.gov.bc.ca/app/requestAccount to request an account after logging in with your IDIR. This will provide you with an API client id and secret to the CHES and CDOGS service.

...

It’s not necessary to immediately obtain access to CHES and CDOGS. If you wanted to take advantage of the document generator and email service in the future then this is where you would do itView the troubleshooting page for solving common errors and a few additional resources.