<commit_before>### Testing on ubuntu 20.04.2 LTS

- Build supermarket artifact with omnibus
  - Go to the supermarket repo. Inside repo go to `omnibus` directory
  - run `bundle install --binstubs`

- Install supermarket artifact
  - Once build is successful it will create a supermarket installation package in the directory `/var/cache/omnibus/pkg`.
    U can install the package using respective package installer for the selected OS.

- Reconfigured supermarket with `supermarket-ctl reconfigure`

- You should be able to see the supermarket homepage in the ec2 instance IP: `https://<EC2 instance IP>`.
  Please note that your security group of the ec2 instance must be open to incoming and outgoing connections from and to anywhere.
  
### Resolve FQDN Issue

I was facing some challenge connecting supermarket with oc-id due to the public IP not being used as FQDN. Was getting error: **redirect uri included is not valid**

Initially the fqdn was the private DNS which was: **ip-xxx-xx-xx-xxx.us-east-2.compute.internal**

I had to set the hostname to the public IP address which was: <x.xxx.xxx.xxx>
The command used is as follows:
```<commit_msg>code review changes<commit_after>### Testing on ubuntu 20.04.2 LTS

- Build supermarket artifact with omnibus
  - Go to the supermarket repo. Inside repo go to `omnibus` directory
  - run `bundle install --binstubs`

- Install supermarket artifact
  - Once build is successful it will create a supermarket installation package in the directory `/var/cache/omnibus/pkg`.
    U can install the package using respective package installer for the selected OS. For ubuntu I've used `dpkg` as follows
    ```
      sudo dpkg -i /var/cache/omnibus/pkg/<package>.deb
    ```

- Reconfigured supermarket with `supermarket-ctl reconfigure`

- You should be able to see the supermarket homepage in the ec2 instance IP: `https://<EC2 instance IP>`.
  Please note that your security group of the ec2 instance must be open to incoming and outgoing connections from and to anywhere.
  
### Resolve FQDN Issue

I was facing some challenge connecting supermarket with oc-id due to the public IP not being used as FQDN. Was getting error: **redirect uri included is not valid**

Initially the fqdn was the private DNS which was: **ip-xxx-xx-xx-xxx.us-east-2.compute.internal**

I had to set the hostname to the public IP address which was: <x.xxx.xxx.xxx>
The command used is as follows:
```
{'fraction_non_alphanumeric': 0.0708110333470564, 'fraction_numerical': 0.007410456978180321, 'mean_word_length': 3.909090909090909, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '914672', 'n_tokens_mistral': 700, 'n_tokens_neox': 643, 'n_words': 337}