Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default port to 8900 #429

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ In your working directory, open terminal and paste the following commands:

1. In your terminal run:
```sh
npm run dev
PORT=8900 npm run dev # Passing the env var PORT is optional
```
2. Open your browser of choice and navigate to [http://127.0.0.1:7000](http://127.0.0.1:7000)
2. Open your browser of choice and navigate to [http://127.0.0.1:8900](http://127.0.0.1:8900)

## Local Server

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"dev": "http-server ./ -p 7000 -c-1 --cors",
"server": "http-server ./ -p 7000 --cors",
"dev": "http-server ./ -c-1 --cors",
"server": "http-server ./ --cors",
flashdesignory marked this conversation as resolved.
Show resolved Hide resolved
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\" --fix",
"pretty:check": "prettier --check ./",
Expand Down
4 changes: 2 additions & 2 deletions resources/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ convenient to open these benchmarks with their specific files.

You can load this benchmark with the `/observable-plot.html` page, for example
http://localhost:5173/observable-plot.html if you run it locally or
http://localhost:7000/resources/charts/dist/observable-plot.html in the
http://localhost:8900/resources/charts/dist/observable-plot.html in the
context of the speedometer.

Observable Plot is D3-based and outputs SVG.
Expand All @@ -63,7 +63,7 @@ US. You can consult them in the [datasets directory](./datasets).

You can load this benchmark with the `/chartjs.html` page, for example
http://localhost:5173/chartjs.html if you run it locally or
http://localhost:7000/resources/charts/dist/chartjs.html in the
http://localhost:8900/resources/charts/dist/chartjs.html in the
context of speedometer.

ChartJS is canvas-based.
Expand Down
2 changes: 1 addition & 1 deletion resources/editors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ The test simulates a real-world user flow by loading a number of popular editor

The app was created with `npm create vite@latest editors`, and can be previewed with `npm run dev`. In order to update the files run in the harness you have to use `npm run build` which will recreate the `dist/` directory.

The built test can be loaded within the harness using i.e. http://localhost:7000/?suite=Editor-CodeMirror&startAutomatically=true, or the static versions at http://localhost:7000/resources/editors/dist/.
The built test can be loaded within the harness using i.e. http://localhost:8900/?suite=Editor-CodeMirror&startAutomatically=true, or the static versions at http://localhost:7000/resources/editors/dist/.
Loading