Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Move installing postgres into the if statement that checks if psql exists (#19)
Suchintan3912e2980a83
diff --git a/README.md b/README.mdindex 605b8931d..3bdbe0078 100644--- a/README.md+++ b/README.md@@ -70,6 +70,9 @@ If you're looking to contribute to Skyvern, you'll need to install the pre-commipre-commit install```+## Running your first automation++# How it worksSkyvern was inspired by the Task-Driven autonomous agent design popularized by [BabyAGI](https://github.com/yoheinakajima/babyagi) and [AutoGPT](https://github.com/Significant-Gravitas/AutoGPT) -- with one major difference: we give Skyvern the ability to interact with websites using browser automation libraries like [Playwright](https://playwright.dev/).diff --git a/setup.sh b/setup.shindex fd32f39aa..cf2c8e517 100755--- a/setup.sh+++ b/setup.sh@@ -44,16 +44,16 @@ setup_postgresql() {if ! command_exists psql; thenecho "`postgresql` is not installed."if [[ "$OSTYPE" != "darwin"* ]]; then- echo "Error: Please install postgresql manually and re-run the script." >&2+ echo "Error: Please install postgresql and start the service manually and re-run the script." >&2exit 1fiif ! command_exists brew; thenecho "Error: brew is not installed, please install homebrew and re-run the script or install postgresql manually." >&2exit 1fi+ brew install postgresql@14+ brew services start postgresql@14fi- brew install postgresql@14- brew services start postgresql@14if psql skyvern -U skyvern -c '\q'; thenecho "Connection successful. Database and user exist."