Skip to content

Commit 91b99d6

Browse files
author
Antoine ORY-LAMBALLE
committed
chore: small fixes after reinstalling the env
1 parent c058ce6 commit 91b99d6

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"background": {
299299
"activeOnStart": true,
300300
"beginsPattern": "^[watch] build started",
301-
"endsPattern": "( ready in |✔ Compiled successfully.)"
301+
"endsPattern": "( ready in |✔ Compiled successfully.|Compiled successfully!)"
302302
// Attempt for vite-plugin-checker
303303
// "endsPattern": "\\[TypeScript\\] Found \\d+ errors?\\. Watching for file changes\\."
304304
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ In a terminal, run:
1010
- `git config --global core.editor "code --wait"` - It allows to use GitLens interactive rebase client when running rebases from Git Graph (or from the terminal).
1111
- `corepack enable` ([explanation](https://yarnpkg.com/getting-started/install))
1212

13+
First usage of git? Also run (replace with your name/email):
14+
15+
git config --global user.email "you@example.com"
16+
git config --global user.name "Your Name"
17+
1318
## Usage
1419

1520
- With VSCode, `Open Workspace from File...`, select the file `clapy.code-workspace`. **Don't** open the root directory.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"migrate:staging": "npm run hasura:server -- deploy --endpoint updateme",
3535
"migrate:prod": "npm run hasura:server -- deploy --endpoint https://hasura-loitgf2s5q-ew.a.run.app/",
3636
"________________ implementation details ________________": "",
37+
"postinstall": "mkdir -p ../local-gen-clapy",
3738
"upwait": "yarn dup && sleep 5",
3839
"install:backend": "cd backend-clapy && yarn",
3940
"install:plugin": "cd figma-plugin-clapy && yarn",
@@ -43,7 +44,8 @@
4344
"hasura": "$(yarn bin hasura) --project db/hasura --envfile ../../.env --skip-update-check",
4445
"hasura:server": "$(yarn bin hasura) --project db/hasura --skip-update-check",
4546
"pinggit": "ssh -T git@github.com",
46-
"kill": "sudo kill -9 `sudo lsof -t -i:9001`; sudo kill -9 `sudo lsof -t -i:9000`; sudo kill -9 `sudo lsof -t -i:3000`; sudo kill -9 `sudo lsof -t -i:9229`; echo Done"
47+
"kill": "sudo kill -9 `sudo lsof -t -i:9001`; sudo kill -9 `sudo lsof -t -i:9000`; sudo kill -9 `sudo lsof -t -i:3000`; sudo kill -9 `sudo lsof -t -i:9230`; echo Done",
48+
"free": "sudo ./scripts/cleanram.sh"
4749
},
4850
"devDependencies": {
4951
"@graphql-codegen/cli": "^2.11.6",

scripts/cleanram.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
# https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/
66
# sync; echo 1 > /proc/sys/vm/drop_caches
77
# sync; echo 2 > /proc/sys/vm/drop_caches
8-
sync; echo 3 > /proc/sys/vm/drop_caches
8+
sync; echo 3 > /proc/sys/vm/drop_caches
9+
echo 1 > /proc/sys/vm/compact_memory

0 commit comments

Comments
 (0)