Install
The install command can be used to install Tramway and any Tramway dependency
It will install the core modules your application needs with tramway or specific pieces as specified in the arguments. It will also add the necessary files to your project, and entries to gitignore. Note, this command will modify your package.json
and package-lock.json
files.
Example
To install the base:
tramway install
To add modules, like a MySQLProvider:
tramway install mysql
Options
Argument | Command Type | Type | Default | Required | Comments |
---|---|---|---|---|---|
pieces | argument | string | none | no | A list of tramway modules to install |
Available Libraries
The following libraries are available to install with tramway install
Name | Aliases |
---|---|
mysql | |
arangodb | arango |
mongodb | mongo |
api | ajax |
command | cron |
auth0 | |
connection | |
core | |
dependencyInjection | DI , dependency-injection |
router | |
logger | |
winston |