Skip to content

Commit

Permalink
3020 => 3011
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Nov 10, 2024
1 parent 13e3c1c commit 1acd4cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion design-decisions/example.pentive.secrets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export developmentAlphaKey=
export productionAlphaKey=
export cloudflareAccountId=
export developmentTursoDbUrl=http://127.0.0.1:3020
export developmentTursoDbUrl=http://127.0.0.1:3011
export developmentTursoAuthToken='optional if running locally'
export productionTursoDbUrl=
export productionTursoAuthToken=
Expand Down
2 changes: 1 addition & 1 deletion initIvy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# https://unix.stackexchange.com/a/336447

pnpm run turso &
sleep 2 && pnpm --filter shared-edge initIvy && npx kill-port 3020 &
sleep 2 && pnpm --filter shared-edge initIvy && npx kill-port 3011 &
wait -n
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"wrangler": "^3.81.0"
},
"scripts": {
"kill": "kill-port 3012 3013 3014 3015 3016 3017 3018 3019 3020",
"kill": "kill-port 3011 3012 3013 3014 3015 3016 3017 3018 3019",
"//": "ugc and dev are distinct because you may frequently wish to restart `dev`, whereas `ugc` rarely changes",
"ugc": "concurrently --kill-others -p \"[{name}]\" -n \"app-ugc,hub-ugc\" -c \"bgBlue.bold,bgMagenta.bold\" \"pnpm --filter app-ugc build --mode development && pnpm --filter app-ugc serve\" \"pnpm --filter hub-ugc build --mode development && pnpm --filter hub-ugc serve\"",
"dev": "concurrently --kill-others -p \"[{name}]\" -n \"app,hub,cwa,peer,api-ugc\" -c \"bgBlue.bold,bgMagenta.bold,bgGreen.bold,bgWhiteBright.bold,bgCyan.bold\" \"pnpm --filter app dev\" \"pnpm --filter hub dev\" \"pnpm --filter cwa dev\" \"pnpm --filter peer dev\" \"pnpm --filter api-ugc dev\"",
"//dev": "If you get `Error: EMFILE: too many open files...`, running all 3 options here https://stackoverflow.com/a/60881735 and restarting WSL worked for me",
"build": "turbo build",
"deploy": "turbo deploy",
"deploy-only": "turbo deploy --only",
"turso": "mkdir -p data.sqld && turso dev --port 3020 --db-file ./data.sqld/ivy.sqlite",
"turso": "mkdir -p data.sqld && turso dev --port 3011 --db-file ./data.sqld/ivy.sqlite",
"format": "pnpm --parallel --no-bail -r format && prettier --ignore-path .gitignore --ignore-path misc.prettierignore --write .",
"format:check": "pnpm --parallel --no-bail -r format:check && prettier --ignore-path .gitignore --ignore-path misc.prettierignore --check .",
"eslint": "turbo eslint",
Expand Down

0 comments on commit 1acd4cf

Please sign in to comment.