Skip to content

Commit

Permalink
Fix local dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
akrolsmir committed Jan 7, 2022
1 parent 4b2412c commit 03af90f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store

.vercel
18 changes: 16 additions & 2 deletions og-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,22 @@

For more info, see Contributing.md

nb2: (Not `dev` because that's reserved for Vercel)
nb3: (Or `cd .. && vercel --prod`, I think)
- note2: You may have to configure Vercel the first time:

```
$ yarn start
yarn run v1.22.10
$ cd .. && vercel dev
Vercel CLI 23.1.2 dev (beta) — https://vercel.com/feedback
? Set up and develop “~/Code/mantic”? [Y/n] y
? Which scope should contain your project? Mantic Markets
? Found project “mantic/mantic”. Link to it? [Y/n] n
? Link to different existing project? [Y/n] y
? What’s the name of your existing project? manifold-og-image
```

- note2: (Not `dev` because that's reserved for Vercel)
- note3: (Or `cd .. && vercel --prod`, I think)

(Everything below is from the original repo)

Expand Down
2 changes: 1 addition & 1 deletion og-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "tsc -p api/tsconfig.json && tsc -p web/tsconfig.json",
"start": "vercel dev"
"start": "cd .. && vercel dev"
},
"dependencies": {
"chrome-aws-lambda": "7.0.0",
Expand Down

0 comments on commit 03af90f

Please sign in to comment.