Earlier we have discussed allure serve command Which generates a report in temporary folder from the data found in the provided path and then creates a local Jetty server instance, serves generated report and opens it in the default browser.
There is an alternative command to generate report in specific directory:
$ allure generate --clean
This will generate report in folder allure-report. You need to open index.html in your browser. If your report is not loading properly use below command for mac, For Windows you might have different path:
$ "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --allow-file-access-from-files
Once you will hit above command in terminal or console this will open chrome browser. Now you need to paste the path of your file in Chrome.