Configuration - StudioDeTelevision/admiraljs GitHub Wiki

admiral.setConfig({...});

title

the name of your project, will be displayed on top of the page

port:** the port you want admiraljs to run on **,

database:

{"basename":" ** database name ** ", "host":" ** your database host ** "}

recordID:"_id"

fileserver:{port: ** ex:7020 ** }

api

base url of your restful api (must end with /)

debug

debugging mode (true/false)

customClass

if neeeded relative path to your custom class ex: "./custom/example/example" see the wiki page on that part

dateTimeFormat

define your time format for fields like date or datetime (ex: "YYYY-MM-DD HH:mm:ss" )

theme

let you target another css theme than the default one

tinymce

define tinymce toolbar for textarea