Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Installazione

Install Total.js TAS from source, connect it to PostgreSQL and start it.

.md Sito web

Questa pagina non è ancora tradotta. Stai leggendo l’originale.

In questa pagina
Note: Total.js TAS is available only with a Total.js Enterprise subscription. See the TAS page on totaljs.com.

You get the TAS source code from Total.js with a Total.js Enterprise license. You also need:

  • Node.js
  • a PostgreSQL server with an empty database for TAS

Install and start

1. Create an empty database in PostgreSQL, for example tas.

2. Open the folder with the TAS source code and install the dependencies:

npm install

3. Open the config file and set the connection string of your database:

database       : postgresql://user:password@hostname:5432/tas

4. Start TAS:

npm start

5. Open http://127.0.0.1:8000 in your browser and sign in. See First sign-in.

6. Open Settings, check the Website name and select SUBMIT. See Settings.

TAS creates its tables on the first start, so you do not run any SQL yourself.

Use another port

npm start uses port 8000. To use another port, start TAS with the port number:

node index.js 8080

Install the bundled version

The source code also contains a ready bundle, --bundles--/app.bundle. Use it when you do not want to change the source code:

1. Create a new folder with the files index.js, config and package.json from the source code.

2. Create a bundles folder in it and copy app.bundle there.

3. Set the connection string in config, then run npm install and npm start as above.

The bundled version keeps its data files in the hidden .src folder. See Data locations.

Keep your server safe

  • Sign in and change the default credentials as soon as TAS runs. See Change credentials.
  • Use HTTPS and restrict who can reach the server when TAS is available over a network.
Fatto in Europa