@@ -39,12 +39,88 @@ require "./adminer-current.php";
3939```
4040
4141### :new : :gear : Compile a single file version
42- This script is used to build a SQLite3 "dedicated" Adminer file:
42+ This script is used to * compile * a SQLite3 "dedicated" Adminer file:
4343* easy installation (a file to copy)
4444* light size (< 190Ko)
4545* can embedded your favorite design
4646* respect the philosophy of Adminer
47- > Adminer consist of a single file ready to deploy to the target server.
47+ > Adminer consist of a single file ready to deploy to the target server.
48+
49+ :memo : You can contribute by filling the warning translations file.
50+
51+ ``` bash
52+ > ./compile.sh en
53+ 1. Load adminer' s sources:
54+
55+ Clonage dans ' adminer' ...
56+ remote: Enumerating objects: 22712, done.
57+ remote: Total 22712 (delta 0), reused 0 (delta 0), pack-reused 22712
58+ Réception d' objets: 100% (22712/22712), 7.81 MiB | 3.55 MiB/s, fait.
59+ Résolution des deltas: 100% (16486/16486), fait.
60+ Sous-module ' JsShrink' (git://github.com/vrana/JsShrink) enregistré pour le chemin ' externals/JsShrink'
61+ Sous-module ' jush' (git://github.com/vrana/jush) enregistré pour le chemin ' externals/jush'
62+ Clonage dans ' /home/francois/adminer/compile/adminer/externals/JsShrink' ...
63+ remote: Enumerating objects: 55, done.
64+ remote: Total 55 (delta 0), reused 0 (delta 0), pack-reused 55
65+ Réception d' objets: 100% (55/55), 116.93 KiB | 410.00 KiB/s, fait.
66+ Résolution des deltas: 100% (11/11), fait.
67+ Clonage dans ' /home/francois/adminer/compile/adminer/externals/jush' ...
68+ remote: Enumerating objects: 1231, done.
69+ remote: Total 1231 (delta 0), reused 0 (delta 0), pack-reused 1231
70+ Réception d' objets: 100% (1231/1231), 806.41 KiB | 358.00 KiB/s, fait.
71+ Résolution des deltas: 100% (854/854), fait.
72+ Chemin de sous-module ' externals/JsShrink' : ' 17cbfacae67dede6d94d94ce92214c8ca31d858e' extrait
73+ Chemin de sous-module ' externals/jush' : ' 275c9cc888608f36895e3926c16e8d2e2dab0a1c' extrait
74+
75+ 2. Load plugin' s sources:
76+
77+ --2020-11-11 13:06:17-- https://raw.githubusercontent.com/FrancoisCapon/LoginToASqlite3DatabaseWithoutCredentialsWithAdminer/master/fc-sqlite-connection-without-credentials.php
78+ Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.120.133
79+ Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443… connecté.
80+ requête HTTP transmise, en attente de la réponse… 200 OK
81+ Taille : 1509 (1,5K) [text/plain]
82+ Enregistre : «adminer/plugins/fc-sqlite-connection-without-credentials.php»
83+
84+ fc-sqlite-connection-without-credentials.php 100%[===========================================================================================>] 1,47K --.-KB/s ds 0s
85+
86+ 2020-11-11 13:06:18 (7,81 MB/s) - «adminer/plugins/fc-sqlite-connection-without-credentials.php» enregistré [1509/1509]
87+
88+
89+ 3. Adding the plugin to the sources
90+
91+
92+ 4. Search warning translation
93+
94+
95+ 5. Compile in language: en
96+
97+ adminer-4.7.7-sqlite-en.php created (191343 B).
98+
99+ 6. Clean the sources
100+
101+
102+ 7. Voilà!
103+
104+ > ./compile.sh fr flat
105+
106+ 1. Search warning translation
107+
108+ Attention : ne l\' utilisez pas dans un environnement de production !
109+
110+ 2. Set the design: flat
111+
112+
113+ 3. Compile in language: fr
114+
115+ adminer-4.7.7-sqlite-fr.php created (193736 B).
116+
117+ 4. Clean the sources
118+
119+
120+ 5. Voilà!
121+
122+ ```
123+
48124``` bash
49125if [ $# -lt 1 ]
50126then
0 commit comments