Tony CHEMIT pushed to branch develop at ultreiaio / ird-t3

Commits:

1 changed file:

Changes:

  • t3-installer/src/main/assembly/dist/README.md
    1 1
     # T3 Console
    
    2 2
     
    
    3
    -### Before using database commands
    
    4
    -
    
    5
    -First fill the **db.properties** file with correct values.
    
    6
    -
    
    7
    -Then use the command you need :).
    
    8
    -
    
    9 3
     ## Create a database
    
    10 4
     This will create the database on postgres server, then fill it.
    
    11 5
     ```
    
    ... ... @@ -16,6 +10,8 @@ or
    16 10
     create-db.bat dbName
    
    17 11
     ```
    
    18 12
     
    
    13
    +**Please see Notes section for more details.**
    
    14
    +
    
    19 15
     ## Fill a database
    
    20 16
     This will just fill a database on postgres server.
    
    21 17
      
    
    ... ... @@ -28,6 +24,8 @@ or
    28 24
     fill-db.bat dbName
    
    29 25
     ```
    
    30 26
     
    
    27
    +**Please see Notes section for more details.**
    
    28
    +
    
    31 29
     ## Translate application
    
    32 30
     This will open a GUI to translate application.
    
    33 31
     ```
    
    ... ... @@ -37,3 +35,39 @@ or
    37 35
     ```
    
    38 36
     translate.bat
    
    39 37
     ```
    
    38
    +
    
    39
    +## Notes
    
    40
    +
    
    41
    +For ```create-db``` or ```fill-db``` commands, the software will ask you three questions:
    
    42
    +
    
    43
    + * login to connect to database
    
    44
    + * password to connect to database
    
    45
    + * url pattern to use
    
    46
    +
    
    47
    +Those values will be stored in a file named ```t3-installer.conf``` and reused at next launch.
    
    48
    +
    
    49
    +If stored value is ok with you, just press enter.
    
    50
    +
    
    51
    +Note also that the url pattern must ends with %s (which represents the db name you have given on command line).
    
    52
    +
    
    53
    +Example on a first launch:
    
    54
    +```
    
    55
    +sh create-db.sh myT3Db
    
    56
    +Listening for transport dt_socket at address: 8000
    
    57
    +Starting T3 Console with arguments: [--create-db, myT3Db] at Fri May 18 10:40:10 CEST 2018 
    
    58
    +Login [Not defined]: t3-admin
    
    59
    +Password [Not defined]: pass
    
    60
    +Url [jdbc:postgresql:%s]: 
    
    61
    +INFO [main] (fr.ird.t3.console.T3DatabaseTool:95) createOrFill - 1/5 - Setup and connect to database...
    
    62
    +```
    
    63
    +
    
    64
    +Next launch:
    
    65
    +```
    
    66
    +sh create-db.sh myT3Db
    
    67
    +Listening for transport dt_socket at address: 8000
    
    68
    +Starting T3 Console with arguments: [--create-db, myT3Db] at Fri May 18 10:40:10 CEST 2018 
    
    69
    +Login [t3-admin]:
    
    70
    +Password [pass]:
    
    71
    +Url [jdbc:postgresql:%s]: 
    
    72
    +INFO [main] (fr.ird.t3.console.T3DatabaseTool:95) createOrFill - 1/5 - Setup and connect to database...
    
    73
    +```