Update set up script (#35)
This commit is contained in:
@@ -68,6 +68,8 @@ Before you begin, make sure you have the following installed:
|
|||||||
- [Brew (if you're on a Mac)](https://brew.sh/)
|
- [Brew (if you're on a Mac)](https://brew.sh/)
|
||||||
- [Poetry](https://python-poetry.org/docs/#installation)
|
- [Poetry](https://python-poetry.org/docs/#installation)
|
||||||
- `brew install poetry`
|
- `brew install poetry`
|
||||||
|
|
||||||
|
Note: Our setup script does these two for you, but they are here for reference.
|
||||||
- [Python 3.11](https://www.python.org/downloads/)
|
- [Python 3.11](https://www.python.org/downloads/)
|
||||||
- `poetry env use 3.11`
|
- `poetry env use 3.11`
|
||||||
- [PostgreSQL 14](https://www.postgresql.org/download/) (if you're on a Mac, setup script will install it for you if you have homebrew installed)
|
- [PostgreSQL 14](https://www.postgresql.org/download/) (if you're on a Mac, setup script will install it for you if you have homebrew installed)
|
||||||
|
|||||||
2
setup.sh
2
setup.sh
@@ -30,11 +30,11 @@ remove_poetry_env() {
|
|||||||
else
|
else
|
||||||
echo "No poetry environment found."
|
echo "No poetry environment found."
|
||||||
fi
|
fi
|
||||||
poetry env use python3.11
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to install dependencies
|
# Function to install dependencies
|
||||||
install_dependencies() {
|
install_dependencies() {
|
||||||
|
poetry env use python3.11
|
||||||
poetry install
|
poetry install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user