{"result":{"depiction_url":null,"edges":{"refers":{"objects":[{"created":"2026-10-07T11:13:06Z","object_id":{"id":1526,"is_a":["text","documentation","developerguide"],"name":"doc_developerguide_getting_started","title":{"_type":"trans","tr":{"en":"Set up a local development environment"}},"uri":"https:\/\/zotonic.com\/id\/1526"},"seq":1000000},{"created":"2026-10-07T11:13:06Z","object_id":{"id":2914,"is_a":["text","documentation","developerguide"],"name":"developer_create_site","title":{"_type":"trans","tr":{"en":"Create your first site"}},"uri":"https:\/\/zotonic.com\/id\/2914"},"seq":1000000},{"created":"2026-10-07T11:13:06Z","object_id":{"id":2929,"is_a":["text","documentation","developerguide"],"name":"developer_startup_modes","title":{"_type":"trans","tr":{"en":"Start in the foreground or background"}},"uri":"https:\/\/zotonic.com\/id\/2929"},"seq":1000000},{"created":"2026-10-07T11:13:06Z","object_id":{"id":3045,"is_a":["text","documentation","developerguide"],"name":"developer_local_postgresql","title":{"_type":"trans","tr":{"en":"Prepare local PostgreSQL"}},"uri":"https:\/\/zotonic.com\/id\/3045"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"relation":{"objects":[{"created":"2026-10-07T11:13:18Z","object_id":{"id":2914,"is_a":["text","documentation","developerguide"],"name":"developer_create_site","title":{"_type":"trans","tr":{"en":"Create your first site"}},"uri":"https:\/\/zotonic.com\/id\/2914"},"seq":1},{"created":"2026-10-07T11:13:18Z","object_id":{"id":3045,"is_a":["text","documentation","developerguide"],"name":"developer_local_postgresql","title":{"_type":"trans","tr":{"en":"Prepare local PostgreSQL"}},"uri":"https:\/\/zotonic.com\/id\/3045"},"seq":2}],"predicate":{"id":303,"is_a":["meta","predicate"],"name":"relation","title":{"_type":"trans","tr":{"nl":"Relatie","en":"Relation"}},"uri":"http:\/\/purl.org\/dc\/terms\/relation"}},"subject":{"objects":[{"created":"2026-10-07T11:13:18Z","object_id":{"id":2554,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_how_to_guide","title":"How-to guide","uri":"https:\/\/zotonic.com\/id\/2554"},"seq":1},{"created":"2026-10-07T11:13:18Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-10-07T11:13:18Z","object_id":{"id":2613,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_development_and_debugging","title":"Development and debugging","uri":"https:\/\/zotonic.com\/id\/2613"},"seq":3},{"created":"2026-10-07T11:13:18Z","object_id":{"id":2605,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_site_management","title":"Site management","uri":"https:\/\/zotonic.com\/id\/2605"},"seq":4}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2913,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2913"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"developer_build_start","page_url":{"en":"https:\/\/zotonic.com\/docs\/2913\/build-and-start-zotonic","x-default":"https:\/\/zotonic.com\/docs\/2913\/build-and-start-zotonic"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<p>Complete one <a href=\"\/id\/1526\">installation route<\/a> first. For a native or Nix setup, the tools and <a href=\"\/id\/3045\">database connection<\/a> should now be ready. Container users whose node is already running can go straight to <a href=\"\/id\/2914\">Create your first site<\/a>.<\/p>\n<h2>1. Build<\/h2>\n<p>From the Zotonic repository root, as your normal user:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-sh\">make\n<\/code><\/pre>\n<p>The first build downloads dependencies and compiles Zotonic. Wait for the successful-compilation message. If it fails, resolve the first build error before continuing; a missing compiler or wrong Erlang version is a setup issue.<\/p>\n<h2>2. Start<\/h2>\n<p>For the first walkthrough, start in the background so the same terminal remains available:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-sh\">bin\/zotonic start\nbin\/zotonic status\n<\/code><\/pre>\n<p>Expect a running node and sites with their states. Open <a href=\"https:\/\/localhost:8443\/\">the local status site<\/a>. This is the installation&#39;s management page, not your new website. The initial HTTPS certificate is self-signed; accept it only for this local development address.<\/p>\n<p>If the node is already running, use <code>status<\/code> rather than starting a second instance. If startup fails, check whether ports 8000\/8443 are occupied and read the reported log location.<\/p>\n<h2>3. Create a site<\/h2>\n<p>Continue with <a href=\"\/id\/2914\">Create your first site<\/a>. Keep using this repository root for <code>bin\/zotonic<\/code> commands.<\/p>\n<h2>Foreground development and stopping<\/h2>\n<p>For startup output and an interactive Erlang shell, use <code>bin\/zotonic debug<\/code> instead of <code>start<\/code>, with Zotonic stopped first. Run further OS commands from a second terminal in the same environment. Do not type shell commands such as <code>bin\/zotonic status<\/code> at the Erlang prompt.<\/p>\n<p>Use <code>bin\/zotonic stop<\/code> to stop this installation. Attach to an existing node with <code>bin\/zotonic shell<\/code>; Ctrl-C twice detaches that remote shell without stopping the node. See <a href=\"\/id\/2929\">startup modes<\/a> for details.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2026-10-07T11:12:55Z","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"doc_editorial_bundle":true,"doc_editorial_edges":{"relation":[2914,3045],"subject":[2554,2564,2605,2613]},"is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T11:13:21Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"developer_build_start","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2026-10-07T11:12:55Z","slug":"build-and-start-zotonic","summary":{"_type":"trans","tr":{"en":"Compile Zotonic, start it, check the status page, and continue to your first site."}},"title":{"_type":"trans","tr":{"en":"Build and start Zotonic"}},"title_slug":{"_type":"trans","tr":{"en":"build-and-start-zotonic"}},"tz":"UTC","uri":null,"version":20,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/2913","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2913"}},"status":"ok"}