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

Adding serve to serve the static dapp. #43

Merged
merged 3 commits into from
Apr 14, 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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and set up the development environment:
yarn install && yarn start
```

Open your browser and navigate to `http://localhost:3000` to access the production dapp or `http://localhost:8000` to access the development dapp.

## Cloning

This repository contains GitHub Actions that you may find useful, see
Expand Down
6 changes: 4 additions & 2 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"allow-scripts": "yarn workspace root allow-scripts",
"lint": "yarn lint:misc --check",
"lint:fix": "yarn lint:misc --write",
"lint:misc": "prettier '**/*.html' '**/*.json' '**/*.md'"
"lint:misc": "prettier '**/*.html' '**/*.json' '**/*.md'",
"start": "serve src"
},
"devDependencies": {
"@metamask/eslint-config": "^12.2.0",
Expand All @@ -21,6 +22,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.18"
"prettier-plugin-packagejson": "^2.2.18",
"serve": "^14.2.1"
}
}
Loading
Loading