Skip to content

Commit 8281c9c

Browse files
committed
edit local and vercel deployment
1 parent f9b99ec commit 8281c9c

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

+16-7
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,31 @@ Branches includes a specialized evaluation mechanism for the [Game of 24 puzzle]
4141

4242
To get started with Branches, you can either visit [code-gen-tree.vercel.app](https://code-gen-tree.vercel.app) for the hosted version or run it locally by following the instructions below.
4343

44-
## Running Locally
44+
## Deploy to Vercel
45+
```sh
46+
npm i -g vercel
47+
vercel
48+
```
4549

46-
**Frontend (User Interface):**
50+
## Running Locally
51+
For local development, checkout the `local-dev` branch. This is slightly modified to use Flask to serve the code interpreter API.
4752

53+
Setup repo
4854
```sh
4955
git clone https://github.com/normal-computing/branches.git
56+
git checkout local-dev
57+
```
58+
59+
**Frontend (User Interface):**
60+
```sh
5061
npm install
5162
npm run dev
5263
```
5364

5465
**Backend (Code Interpreter):**
55-
56-
```sh
57-
cd api
58-
pip install -r requirements.txt
59-
python execute.py
66+
```
67+
pip install -r backend/requirements.txt
68+
python backend/interpreter.py
6069
```
6170

6271
## Stay Tuned For

0 commit comments

Comments
 (0)