update readme for opening in locally

This commit is contained in:
Ayo 2022-08-29 08:07:46 +02:00
parent 79aeaf7974
commit 971fbef756
2 changed files with 4 additions and 1 deletions

View file

@ -10,5 +10,8 @@ To start development, you need node v16 (the dev server doesn't work on v18 *yet
1. Install dependencies: `npm i`
2. Start the dev server: `npm run dev`
## Running Locally
After running the commands to start development, open in a browser: `http://localhost:4200`
## Live Demo
The current live site is here: (https://mnswpr.com)

View file

@ -7,7 +7,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "concurrently --kill-others \"npm run watch:dev\" \"npm start\"",
"start": "http-server ./dist/",
"start": "http-server ./dist/ -a localhost -p 4200",
"watch:dev": "node ./node_modules/webpack/bin/webpack.js --watch --mode development .",
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production ."
},