tibet-start(1) -- starts the project's TIBET Data Server

SYNOPSIS

tibet start [--env <name>] [--debug] [--level=['all'|'trace'|'debug'|'info'|'warn'| 'error'|'fatal'|'system'|'off']] [--debugger] [--port N] [--color[=true|false]] [--no-color] [--https] [--https_port N] [<options>]

DESCRIPTION

Performs project-specific start operations.

For a TDS-based project this command will attempt to start the TDS by running the file server.js in your project root dirctory.

For an Electron project this command will delegate to the tibet electron command to launch your Electron project with appropriate flags.

For other project types this command will typically call the current operating system's open command with your project.start_page value. This last option will rarely work given modern browser security but is still included for historical reasons.

You can also start your project using npm start, however that does not provide as many options for passing additional options as needed.

For typical TDS-based projects the server.js file will attempt to load a series of plugins from the ~/plugins directory. The list itself is determined by the tds.plugins.core list but normally involves a list such as:

body-parser
logger
compression
reconfig
public-static
session
security
view-engine
authenticate
private-static
routes
tds
user
proxy
fallback
errors

OPTIONS

CONFIGURATION SETTINGS

ENVIRONMENT VARIABLES

EXAMPLES

Start the server on a default port (1407)

$ tibet start

                                  ,`
                            __,~//`
   ,///,_            .~////////'`
  '///////,       //////''`
         '//,   ///'`
            '/_/'
              `
    ////////////////////     ///////////////////  ////
    `//'````````````///      `//'```````````````  '''
     /`              //       /'
    /                //      '/
   ,/____             /'    ,/_____
  /////////;;,,_      //   ,//////////;,_
              `'/,_   '/              `'///,_
                 `'/,_ /                   '//,
                    '/,/,                    '/_
                      `/,                     `/,
                        '                      `/
                                               '/
                                                /

info: hello 0.1.0 (development) running on TIBET v5.0.0-dev.7 at http://127.0.0.1:1407

Start the server on a custom port

$ tibet start --tds.port 2222

...
info: test1 0.1.0 (development) running on TIBET v5.0.0-dev.7 at http://127.0.0.1:2222

Start the server with a different environment

$ tibet start --env testing

...
info: hello 0.1.0 (testing) running on TIBET v5.0.0-dev.7 at http://127.0.0.1:1407

TIBET SHELL

This command has no client-side TSH peer command.

TROUBLESHOOTING

SEE ALSO