Skip to main content

viclix

Official Viclix CLI — deploy and manage your Viclix projects from the terminal.

Install

pip install viclix

This exposes a viclix command on your PATH.

Quick start

# 1. Log in once with an account API token (Dashboard → Settings → Tokens)
viclix login

# 2. Inside your project's git repo, register + deploy it
cd my-app
viclix init

# 3. Ship changes anytime
viclix deploy

viclix login stores your token in ~/.viclix/config.json. Set VICLIX_HOME to change that location.

How init picks your repo

  • If the repo already has an origin remote, viclix init registers that repo and branch with Viclix — no GitHub token needed.
  • If there's no remote yet, it offers to create a private GitHub repository and push your code (this path needs a GitHub token: pass --github-token, store one with viclix login --github-token ..., or paste it when prompted).

Commands

Command What it does
viclix login Save your account token (--token, --base-url, --github-token).
viclix logout Remove stored credentials.
viclix whoami Show which account/endpoint you're logged into.
viclix init Register the current repo as a Viclix project and deploy it.
viclix deploy Commit, push and trigger a rebuild (--full for a full rebuild).
viclix hotfix Push and fast-sync the container (-i reinstall deps, -nr no restart).
viclix status / viclix info Inspect the project.
viclix logs-build / viclix logs-app Tail build / app logs.
viclix restart / viclix sleep / viclix start Lifecycle controls.
viclix exec --cmd "..." Run a command inside the container.
viclix pip-install [--packages "a b"] Install packages in the container.

Databases, env vars & static files

init and deploy accept the same setup the dashboard wizard offers:

# SQLite (file lives in your repo, referenced by path)
viclix init --db sqlite --sqlite-path ./data/app.db

# SQLite seeded from a local file uploaded out-of-band (large / git-ignored .db)
viclix init --sqlite-file ./local/app.db          # implies --db upload

# Managed Postgres (credentials injected as DATABASE_URL)
viclix init --db shared        # or: --db dedicated

# Environment variables (file and/or inline, repeatable)
viclix init --env-file .env --env DEBUG=false --env TZ=UTC

# Cached static path
viclix init --static /static/ --cache-max-age 86400

The same flags work on an existing project — viclix deploy --env-file .env, --static /assets/, or --sqlite-file seed.db applies the change, then pushes and rebuilds so the next build picks it up. --env merges with existing keys.

Flag Applies to Meaning
--db none|sqlite|upload|shared|dedicated init Database mode.
--sqlite-path PATH init, deploy Where the .db lives / is written (default ./data/app.db).
--sqlite-file FILE init, deploy Upload a local .db out-of-band.
--env-file FILE init, deploy Load a .env.
--env KEY=VALUE init, deploy Set one var (repeatable).
--static PREFIX init, deploy Edge-cached static path (e.g. /static/).
--cache-max-age SECONDS init, deploy Cache duration for the static path.

Per-project state (its API key) is saved to a .viclix file in the repo, which is git-ignored by default.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viclix-0.1.13.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viclix-0.1.13-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file viclix-0.1.13.tar.gz.

File metadata

  • Download URL: viclix-0.1.13.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for viclix-0.1.13.tar.gz
Algorithm Hash digest
SHA256 e9b0f6312eb19671fa7b4a199faf6221e6f5d063a59cbf234699893dd1f38793
MD5 2fcae835c38674b6b361da89c293e304
BLAKE2b-256 2ff40f19bcc779e2c92b8a260da5c7cb26ed623c4148f549651f49f58605b7db

See more details on using hashes here.

File details

Details for the file viclix-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: viclix-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for viclix-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 303566f61eef24eca341b6890617ee964261c06fa1dbc512b9ce75a8d6078cac
MD5 499e45a5815dea233f9f6aa31a15f8cd
BLAKE2b-256 0eccfa256882d2d30396d4067ee5acc0f1e43a696203bcd6b0cc8be9587890cf

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page