devausnoteja (tmp ohjeet)
Muistiinpanoja
ng build --output-path=../moya-ear/target/moya-ear-1.2-SNAPSHOT/moya-web-1.2-SNAPSHOT.war/resources/angular-dist/
Koodijuttuja
moya-rest
Oma moduulinsa, joka tullaan jossain vaiheessa eriyttämään ja käyttämään myös mahdollisessa nativescript-kännyappiksessa. Eli sen alle tulee vain servisejä, ei komponentteja.
Muuta
Jos tulee muita järkeviä kokonaisuuksia, joita voi käyttää muualla, jaa omaan moduuliinsa.
TODO
Tekemistä jota voi esim kämpissä säätää
I18N
I18N loaderi webpackkiin. Esim. muuntaa properties-filun taulukoksi ja siihen joku localisointikirjasto, tai jotain.
Paketointi
Miten paketoidaan moya niin että mukaan kääntyy myös angular -jutukkeet?
Lazy loading
Lazy loading niin että se toimii vielä moyan kanssa, vaatinnee säätöä.
Travis yms. autotestit
oma travis-palvelin, ja siihen autotestit Ehkä greenkeeper, jos sitä voi hostata ite
Testit
Integraatio jne. testit, aloitteliat ei riko asioita niin todennäköisesti.
WebPack ja buildin minimointi
aot-kääntäminen ja siihen comperssointia jne.
MoyaAngular, generoidut ohjeet
This project was generated with angular-cli version 1.0.0-beta.24.
Development server
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve.
Deploying to Github Pages
Run ng github-pages:deploy to deploy to Github Pages.
Further help
To get more help on the angular-cli use ng help or go check out the Angular-CLI README.