diff --git a/Brewfile b/Brewfile index a59d46f3..ae830c81 100644 --- a/Brewfile +++ b/Brewfile @@ -1,8 +1,8 @@ +brew "git-crypt" +brew "pre-commit" +brew "make" +brew "gcc@11" brew "poetry" brew "pyenv" brew "pyenv-virtualenv" -brew "pre-commit" -brew "make" brew "john-jumbo" -brew "pkg-config" -brew "poppler" diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..981dce71 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +setup: + # install brew dependencies + brew bundle + + # install pdftotext dependencies + sudo apt-get update && sudo apt install build-essential libpoppler-cpp-dev pkg-config -y + + # install poetry dependencies + poetry install diff --git a/README.md b/README.md index 1bd7e7fd..049d9e1b 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,9 @@ Install dependencies using [Homebrew](https://brew.sh/) brew bundle ``` -Create a virtual environment and install Python dependencies +Install python dependencies ```bash -pyenv virtualenv 3.11.4 monopoly -pyenv shell monopoly -poetry install +make install ``` ## Usage