Commit 6b1db086 by Tuukka Kivilahti

deploy to some other URL

1 parent bd3b9a01
...@@ -3,9 +3,6 @@ ...@@ -3,9 +3,6 @@
## Devaus ## 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 ### devaus workflow
...@@ -13,9 +10,9 @@ Kun ei tarvitse tesmailla menuja, on nopeinta ajaa lasikalaa erikseen, ja erikse ...@@ -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ö: 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 ### HMR
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^4.1.2", "@angular/animations": "^4.1.2",
"@angular/cli": "^1.0.3",
"@angular/common": "^4.1.2", "@angular/common": "^4.1.2",
"@angular/compiler": "^4.1.2", "@angular/compiler": "^4.1.2",
"@angular/core": "^4.1.2", "@angular/core": "^4.1.2",
...@@ -34,7 +33,7 @@ ...@@ -34,7 +33,7 @@
"zone.js": "^0.8.10" "zone.js": "^0.8.10"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "^1.0.0-beta.32.3", "@angular/cli": "^1.1.0-beta.1",
"@angular/compiler-cli": "^4.1.2", "@angular/compiler-cli": "^4.1.2",
"@angularclass/hmr": "^1.2.2", "@angularclass/hmr": "^1.2.2",
"@types/jasmine": "2.5.47", "@types/jasmine": "2.5.47",
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>MoyaAngular</title> <title>MoyaAngular</title>
<base href="/MoyaNG/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/MoyaNG">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
</head> </head>
<body> <body>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!