Skip to main content

Tutorial Intro

Let's discover Logicbook in less than 5 minutes.

Install​

pip install logicbook

Getting Started​

Get started by creating a new logicbook.

What you'll need​

Generate a new logicbook site​

Generate a new Logicbook site using the logicbook command.

cd your-python-project
logicbook init
# ProjectName: [YOUR_PROJECT_NAME] default is ""
# Path: [PATH of Logics directory] default is /. (project root)

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

The command also installs all necessary dependencies you need to run Logicbook.

Start your logicbook​

Run the development server:

cd your-python-project
logicbook start

The logicbook start command builds your logicbook locally and serves it through a development server, ready for you to view at http://localhost:8000/.

Docs Version Dropdown