Skip to content

Commit

Permalink
chore: revert e2e_setup and start_local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobvenable committed Oct 12, 2021
1 parent 3128802 commit d7b80d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/server/src/bin/e2e_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SETUP_SCRIPT="${DIR}/../../__build__/bin/setup_categories"

# see if the category setup script exists, if not, build it
if ! test -f "$SETUP_SCRIPT"; then
TARGETS=setupCategories yarn server build:bin
TARGETS=setupCategories yarn workspace @upswyng/server build:bin
fi

# setup categories
Expand All @@ -35,4 +35,4 @@ read -r REDIS_PID <"${DIR}/../../cypress/.redispid"
read -r REDIS_URI <"${DIR}/../../cypress/.redisuri"

REDIS_URL=$REDIS_URI DATABASE_URL=$MONGODB_URI DATABASE_NAME="" DATABASE_USER="" DATABASE_PASSWORD="" PORT=43637 \
yarn server dev
yarn workspace @upswyng/server dev
2 changes: 1 addition & 1 deletion start_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ fi
docker top upswyng-dev-db > /dev/null 2>&1 || yarn build:local-db

# Start development servers for server and web packages concurrently
concurrently -n server,web -c yellow,blue "yarn server dev" "yarn web start"
concurrently -n server,web -c yellow,blue "yarn workspace @upswyng/server dev" "yarn workspace @upswyng/web start"

0 comments on commit d7b80d6

Please sign in to comment.