08 décembre 2018

Angular

Voici quelques repères pour démarrer sous Angular.

Installation windows :
Node.js + npm install -g @angular/cli
IDE :
Visual Studio Code avec module Angular language service
Créer un nouveau projet :
ng new app-test
Générer un composant :
ng generate component mycomponent
Traduction :
ng xi18n
Rendu du site en live :
ng serve --open
Compilation pour mise en ligne :
ng build --prod

Maven tips

Here is the beginning of a progressive documentation of Maven.


Useful commands

>>mvn {{command}}
  • clean
  • compile
  • package
  • site

Reports

Reports are located reporting xml element in the xml project file (pom.xml) :

...

Here are few reports plugin :

org.apache.maven.plugins maven-javadoc-plugin org.apache.maven.plugins maven-checkstyle-plugin org.apache.maven.plugins maven-jxr-plugin org.apache.maven.plugins maven-pmd-plugin

14 janvier 2018

Install Java on Ubuntu



Declare Oracle Java 8 Repository :
sudo add-apt-repository ppa:webupd8team/java

Then, refresh local repository index :
sudo apt-get update

And install with :
sudo apt-get install oracle-java8-installer

Source : https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

WSL 2 upgrade on windows

Few days ago I would like to use docker from windows with docker composer. And because I am using ansible, I found easier to deal from Linux...