<commit_before># How to build and run sample

**prerequisite:** register your web application in AAD, edit its manifest and set `"oauth2AllowImplicitFlow": true`. Note down the app's clientId, tenant and reply url.

1. cd to sample\server
1. edit server.ts to make server listen at url and port that matches app's reply url and homepage
1. tsc -p tsconfig.server.json (this should output server.js to &lt;project-root&gt;\dist\sample)
1. cd to sample\client
1. edit sample.ts and update the clientId and tenant information
1. webpack (this should output bundle.js to &lt;project-root&gt;\dist\sample)
1. cd to &lt;project-root&gt;\dist\sample
1. node .\server.js to start server
1. open browser, navigate to the URL where the server is listening (as configured in step 2)
1. follow adal auth flow to complete authentication.<commit_msg>small typo fix to samples/readme.md<commit_after># How to build and run sample

**prerequisite:** register your web application in AAD, edit its manifest and set `"oauth2AllowImplicitFlow": true`. Note down the app's clientId, tenant and reply url.

1. cd sample\server
1. edit server.ts to make server listen at url and port that matches app's reply url and homepage
1. tsc -p tsconfig.server.json (this should output server.js to &lt;project-root&gt;\dist\sample)
1. cd sample\client
1. edit sample.ts and update the clientId and tenant information
1. webpack (this should output bundle.js to &lt;project-root&gt;\dist\sample)
1. cd &lt;project-root&gt;\dist\sample
1. node .\server.js to start server
1. open browser, navigate to the URL where the server is listening (as configured in step 2)
1. follow adal auth flow to complete authentication.
{'fraction_non_alphanumeric': 0.08545994065281899, 'fraction_numerical': 0.014243323442136498, 'mean_word_length': 4.403846153846154, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3257273', 'n_tokens_mistral': 493, 'n_tokens_neox': 480, 'n_words': 238}