PocketBlocks Docs
English
English
  • Overview
  • Installation
  • Build apps
    • Create a new app
    • App editor
    • Event handlers
    • Write JavaScript
      • Write JavaScript in {{ }}
      • JavaScript query
      • Transformers
      • Temporary state
      • Data responder
      • Built-in JavaScript functions
      • Use third-party libraries
    • Component guides
      • Option lists
      • List View
      • Drawer
      • Image
      • Charts and graphs
      • File upload
      • Custom component
      • Use Markdown
    • Module
    • Design app UI
      • Style, theme, and usability
      • Design an efficient and user-friendly form
    • Navigation
    • Keyboard shortcuts
    • Version and release management
  • Build plugins
    • Develop UI component plugins
  • Workspace management
    • Authentication
    • Members and groups
    • Permissions for resources
    • Custom branding
  • Miscellaneous
    • Where are the Data Sources/Query Library?
    • Embedding Apps
Powered by GitBook
On this page
  • Manual
  • Docker
  • Fly.io

Installation

PreviousOverviewNextCreate a new app

Last updated 11 months ago

In this article, you will be guided through hosting PocketBlocks on your own server:

Manual

  • Download the binary of your OS and arch from ;

  • Run ./pocketblocks serve;

  • Access and create the first admin user.

Docker

  • Get the file;

  • Run docker compose up -d;

  • Access and create the first admin user.

Fly.io

  • Get the file;

  • Edit the app-name field;

  • Run flyctl launch;

  • Run flyctl vol create data;

  • Run flyctl deploy;

  • Access https://<your-app-name>.fly.dev and create the first admin user.

Remember that PocketBlocks uses Openblocks as the frontend. The pb_public dir is already set up but you can use the pbl_public dir and all files from that directory will be served at <serverAddress>/pbl/ path.

Release Page
PocketBlocks App
docker-compose.yml
PocketBlocks App
fly.toml