diff --git a/README.md b/README.md index ee316a8..395fbba 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,25 @@ results must be scraped by year. Changing the year in the URLs alters the resul Powerball: https://www.lotto.net/powerball/numbers/1992 Mega Millions: https://www.lotto.net/mega-millions/numbers/1996 +## Environment Variables + +To facilitate environment variables for testing or execution, create a .env file in the root folder of +the project and add the following lines to it: + +DATABASE_URL="sqlite:///predictor.db" +POWERBALL_INCEPTION="1992" +MEGA_MILLIONS_INCEPTION="1996" +BASE_SCRAPE_URL="https://www.lotto.net/" +TARGET_CONTAINER="div" +TARGET_CLASS="archive-container" +BALL_CLASS="ball ball" +POWERBALL_CLASS="ball powerball" +MEGABALL_CLASS="ball mega-ball" +POWERBALL_MULTIPLIER_CLASS="ball power-play" +MEGA_MILLIONS_MULTIPLIER_CLASS="ball megaplier" +DATE_CLEAN_REGEX="r'(st|nd|rd|th)'" +DATE_INPUT_FORMAT="%B %d %Y" + ## TO-DOs 1. Review standard tests for sqlalchemy objects