Custom compilation
Compiling AdminNeo from the source code requires PHP 7.3+.
- Download the source code from the GitHub page.
- Run
php bin/compile.php:
php bin/compile.php [project] [drivers] [languages] [themes] [config-file.json]
Parameters:
| project | One of admin or editor. If not specified, AdminNeo is compiled. |
|---|---|
| drivers |
Comma-separated list of database drivers: mysql, pgsql,
elastic, etc. If not specified, all drivers will be included.
|
| languages |
Comma-separated list of language codes: en, de,
cs, etc. If not specified, all languages will be included.
|
| themes |
Comma-separated list of themes together with specific color
variant: default-blue, dune-red, etc. If color variant is not specified
(e.g., default), all color variants will be included. If no theme is specified, all themes will
be included.
|
| config-file.json | Path to the custom JSON configuration file. It contains an object with the same parameters that can be configured in PHP code. |
All drivers, all languages, all themes:
php bin/compile.php
PostgreSQL driver, English language, default theme with all color variants:
php bin/compile.php pgsql en default
MySQL and PostgreSQL drivers, selected languages, all themes:
php bin/compile.php mysql,pgsql en,de,cs,sk
All drivers, all languages, green and red color variants of the default theme:
php bin/compile.php default-green,default-red
Custom Home:configuration
php bin/compile.php ~/my-config.json
EditorNeo, MySQL driver, all languages, default theme with all color variants
php bin/compile.php editor mysql default
JSON configuration file:
{
"navigationMode": "dual",
"preferSelection": true,
"recordsPerPage": 70
}
| mysql | MySQL |
|---|---|
| pgsql | PostgreSQL |
| mssql | MS SQL |
| sqlite | SQLite |
| oracle | Oracle |
| mongo | MongoDB |
| simpledb | SimpleDB |
| elastic | Elasticsearch (beta) |
| clickhouse | ClickHouse (alpha) |
| ar | Arabic |
|---|---|
| bg | Bulgarian |
| bn | Bengali |
| bs | Bosnian |
| ca | Catalan |
| cs | Czech |
| da | Danish |
| de | German |
| el | Greek |
| en | English |
| es | Spanish |
| et | Estonian |
| fa | Persian |
| fi | Finnish |
| fr | French |
| gl | Galician |
| he | Hebrew |
| hi | Hindi |
| hr | Croatian |
| hu | Hungarian |
| id | Indonesian |
| it | Italian |
| ja | Japanese |
| ka | Georgian |
| ko | Korean |
| lt | Lithuanian |
| lv | Latvian |
| ms | Malay |
| nl | Dutch |
| no | Norwegian |
| pl | Polish |
| pt | Portuguese |
| pt-BR | Portuguese (Brazil) |
| ro | Romanian |
| ru | Russian |
| sk | Slovak |
| sl | Slovenian |
| sr | Serbian |
| sv | Swedish |
| ta | Tamil |
| th | Thai |
| tr | Turkish |
| uk | Ukrainian |
| vi | Vietnamese |
| zh | Chinese |
| zh-TW | Chinese (Taiwan) |
| default-blue | Neo (default) • blue |
|---|---|
| default-green | Neo (default) • green |
| default-orange | Neo (default) • orange |
| default-purple | Neo (default) • purple |
| default-red | Neo (default) • red |
| dune-blue | Dune • blue |
| dune-green | Dune • green |
| dune-orange | Dune • orange |
| dune-purple | Dune • purple |
| dune-red | Dune • red |