Skip to content

OWN DevKit 0.14.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 12:28
· 33 commits to main since this release

From here to a live site, database included.

  • Publish makes the site on your server. A project's Publish tab, Or make its site on your server: give it a domain, see what it makes, and Make it. On your Project OWN (Open Web Node) server, OWN DevKit makes the site the project needs:

    • the kind and version it runs on: PHP (the nearest version the server has), or a Ruby, Node.js, Python or Go app, or static files;
    • its own MariaDB database, when the project uses one;
    • its repository, connected with the build its framework needs (Laravel, WordPress, Symfony, Rails, Sinatra and Rack, Next.js, Nuxt, SvelteKit, Express, Django, Flask, FastAPI, Go, Vite and Astro builds);
    • the files a deploy keeps, written for the server: a Laravel app's .env (this one's settings, made for production: the server's database, its address, a new app key, the kit's local mail and cache taken out), WordPress's wp-config.php (the server's database and new secret keys), or an app's DATABASE_URL.

    Then it publishes. A public GitHub repository is fetched as it is; for a private one, OWN DevKit shows the key the server reads it with, and opens GitHub's page for adding it. Needs a token with your own access ("Same access as me"), and Project OWN v0.23.0 or newer on the server.

  • The database, both ways. Once a project publishes to a site with a database, its Publish tab has Pull from the server and Push to the server (MariaDB and MySQL projects):

    • Pull saves this project's database first (the last three, in the kit's data\db-sync), then brings the live one here.
    • Push sends this one there; the server keeps its database as it was first, and puts it back if the dump doesn't load.
    • WordPress keeps its address right: the site's address is stored inside its database, so it's changed on the way, everywhere, PHP's serialized settings included, with WP-CLI (added to the kit the first time, from its GitHub releases, pinned to its SHA-256). A push leaves this database as it is.
  • WP-CLI is in the catalogue, for this and for your own use.