mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-03 23:35:31 +02:00
fix README for production deployment
- do not install dev only modules - prefer ipv4, because on ipv6 network the download get stuck on some modules - move husky to production list because otherwise "npm run start" fails
This commit is contained in:
parent
d2252d4507
commit
2bb5f30c48
|
@ -47,8 +47,8 @@ Install the dependencies as per above, then simply run:
|
||||||
```
|
```
|
||||||
git clone https://github.com/badlogic/heissepreise
|
git clone https://github.com/badlogic/heissepreise
|
||||||
cd heissepreise
|
cd heissepreise
|
||||||
npm install
|
node --dns-result-order=ipv4first /usr/bin/npm install --omit=dev
|
||||||
npm run dev
|
npm run start
|
||||||
```
|
```
|
||||||
|
|
||||||
Once the app is listening per default on port 3000, open <http://localhost:3000> in your browser.
|
Once the app is listening per default on port 3000, open <http://localhost:3000> in your browser.
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
"compression": "^1.7.4",
|
"compression": "^1.7.4",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"hyphen": "^1.6.6",
|
"hyphen": "^1.6.6",
|
||||||
|
"husky": "^8.0.3",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"node-html-parser": "^6.1.5",
|
"node-html-parser": "^6.1.5",
|
||||||
"pdfjs-dist": "^3.7.107",
|
"pdfjs-dist": "^3.7.107",
|
||||||
|
@ -39,7 +40,6 @@
|
||||||
"concurrently": "^8.1.0",
|
"concurrently": "^8.1.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"esbuild": "^0.17.19",
|
"esbuild": "^0.17.19",
|
||||||
"husky": "^8.0.3",
|
|
||||||
"postcss": "^8.4.24",
|
"postcss": "^8.4.24",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
"pretty-quick": "^3.1.3",
|
"pretty-quick": "^3.1.3",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user