Publit.Si
Docs›Stay up to date

Installation

Stay up to date

Updates are free for life. Settings › Version tells you when a new one is out.

Install a new version

  1. In the publitsi folder:

    git pull
    pnpm install
    pnpm ops:install   # stops the services, migrates the database, rebuilds and restarts
    Settings, Version showing the installed version and that it is the newest
    Settings › Version tells you when a new version is out.
  2. Running by hand? Use pnpm db:migrate instead of pnpm ops:install, then restart.

  3. Using the extension for TikTok Studio? Reload it in chrome://extensions (↻) in each profile.

If you changed the code

Your changes and updates fit together: keep your changes on a branch of your own, never on main. Each update then comes into main, and you merge it into your branch. Git may ask you to resolve a conflict where an update touched the same lines.

Update now in Settings only updates an unchanged main; with your own branch checked out, use these commands instead.

  1. Once: move your changes to a branch of your own.

    git switch -c my-changes
    git add -A && git commit -m "my changes"
  2. For each update:

    git switch main && git pull --ff-only
    git switch my-changes && git merge main
    pnpm install
    pnpm ops:install

Check

Settings › Status is green again and Settings › Version shows the new version.

Stuck? Search the troubleshooting list or write to us . Leave out secrets and tokens.