Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6b1db086
authored
May 12, 2017
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy to some other URL
1 parent
bd3b9a01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
code/moya-angular/README.md
code/moya-angular/package.json
code/moya-angular/src/index.html
code/moya-angular/README.md
View file @
6b1db08
...
...
@@ -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
...
...
code/moya-angular/package.json
View file @
6b1db08
...
...
@@ -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"
,
...
...
code/moya-angular/src/index.html
View file @
6b1db08
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment