Commit e7c8f091 by Tuukka Kivilahti

deploy to some other URL

1 parent e5e0b74b
......@@ -3,9 +3,6 @@
## Devaus
### Kääntö jonnekkin:
`ng build --output-path=../moya-ear/target/moya-ear-1.2-SNAPSHOT/moya-web-1.2-SNAPSHOT.war/resources/angular-dist/`
### devaus workflow
......@@ -13,9 +10,9 @@ Kun ei tarvitse tesmailla menuja, on nopeinta ajaa lasikalaa erikseen, ja erikse
moyaproxy.conf.json sisältää proxyasetukset porttiin 8080. Käyttö:
`ng serve --proxy-config=moyaproxy.conf.json`
`ng serve --proxy-config=moyaproxy.conf.json --deploy-url=/MoyaNG`
Tämän jälkeen kirjaa selaimesi sisään moyaan: http://localhost:4200/MoyaWeb/
Tämän jälkeen kirjaa selaimesi sisään moyaan: http://localhost:4200/MoyaWeb/ ja surffata softaan: http://localhost:4200/MoyaNG/
### HMR
......
......@@ -14,7 +14,6 @@
"private": true,
"dependencies": {
"@angular/animations": "^4.1.2",
"@angular/cli": "^1.0.3",
"@angular/common": "^4.1.2",
"@angular/compiler": "^4.1.2",
"@angular/core": "^4.1.2",
......@@ -34,7 +33,7 @@
"zone.js": "^0.8.10"
},
"devDependencies": {
"@angular/cli": "^1.0.0-beta.32.3",
"@angular/cli": "^1.1.0-beta.1",
"@angular/compiler-cli": "^4.1.2",
"@angularclass/hmr": "^1.2.2",
"@types/jasmine": "2.5.47",
......
......@@ -3,9 +3,9 @@
<head>
<meta charset="utf-8">
<title>MoyaAngular</title>
<base href="/MoyaNG/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/MoyaNG">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!