Spanish Total.js
English
Documentation For AI agents
Contents

Install on your computer

Run Total.js Code on your own computer with Docker.

.md GitHub
On this page

This installation runs Code in Docker on your computer and opens it at http://code.localhost.

Before you start

Make sure Docker is installed and running. See the requirements.

Install Code

1. Download the official setup:

git clone https://github.com/totaljs/code-local
cd code-local

2. Open docker-compose.yaml in a text editor.

3. Replace /your/local/path/apps with the folder that holds your applications. It appears in two places: the /www/www volume and FOLDER_WWW.

4. Replace /your/local/path/node_modules in FOLDER_NPM with a folder for the shared Node.js modules.

5. Start Code:

docker compose up -d

6. Open http://code.localhost in your browser.

Finish the setup

The first person who opens Code becomes its administrator, so create the first administrator now.

Add your applications

When you add a project, give it an address that ends in .localhost, for example http://yourapp.localhost.

Made in Europe