Fix local dev setup

This commit is contained in:
Austin Chen 2022-01-07 11:56:06 -08:00
parent 4b2412c49c
commit 03af90f17b
3 changed files with 19 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
.DS_Store
.vercel

View File

@ -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
? Whats 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)

View File

@ -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",