Clacky Workspace1024 Config

1024 Config

Setup Run Commands

In addition to supporting running projects directly in the terminal, Clacky CDE provides a Run Project button that allows you to run projects with a single click and output logs to the Terminal. The commands executed behind Run Project are configured and saved in the .1024 file.

.1024 Configuration file for project run commands; Any changes made will be auto-saved and take effect immediately.

When initializing a project, Clacky AI will automatically detect and configure the .1024 file parameters. Additionally, you can find the .1024 file in the file tree and edit it manually.

You should commit the .1024 file to the code repository.

Examples

A valid .1024 file might look like this:

run_command: bin/dev
# dependency_command will be executed automatically before you fork a new thread.
dependency_command: bundle install && yarn install

A python project that doesn’t require compilation:

run_command: python main.py

A web service project that use pnpm and doesn’t require compilation:

run_command: pnpm run dev

The run_command now also supports array format for executing multiple commands. This is useful when you need to perform several operations in a monorepo:

run_command:
  - cd frontend && npm run dev
  - cd backend && rails s

Installing System Dependencies

In addition to using the pre-installed system dependencies, you can still use the following method to update, upgrade and add new system dependencies:

Use the sudo apt update or sudo apt install -y [package-name] command in the terminal to update and install additional dependencies.

Complete example:

# Update package list
sudo apt update

# Install dependencies
sudo apt install -y \
  build-essential \
  curl \
  wget \

After installation, verify with:

apt list --installed | grep [package-name]