Skip to content

Commit

Permalink
refactor(vite config) & doc (main readme) : Start Frontend with just …
Browse files Browse the repository at this point in the history
…"npm start" (All-Hands-AI#333)

* frontend : added vite --port 3001 | package.json

 "start" script : added "vite --port 3001" to frontend package.json

Just use npm start ; uses port 3001

* Updated installation section for frontend | README.md

With the addition of "start": "vite --port 3001" to the frontend's package.json, simply use "npm start" to initiate the frontend development environment.

* -modify vite config port to 3001
-Revert "frontend : added vite --port 3001 | package.json"
  • Loading branch information
808vita authored Mar 29, 2024
1 parent f3fda42 commit 98e7057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Then in a second terminal:
```bash
cd frontend
npm install
npm run start -- --port 3001
npm start
```

You'll see OpenDevin running at localhost:3001
Expand Down
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export default defineConfig({
plugins: [react(), viteTsconfigPaths()],
server: {
// this sets a default port to 3000
port: 3000,
port: 3001,
},
});

0 comments on commit 98e7057

Please sign in to comment.