Getting started with Developer Tools

Set up a development Core on your computer, deploy your first app to it, and choose servers for production.

Build your first Coreapp

A Coreapp is a web app in one Docker container that a Core runs at its own address, with the Core’s sign-in, a database, and email. The Core App Development Kit gives you a real Core in a VM to build and test against.

  1. Check your computer. You need CoreDesktop, hardware virtualization (VT-x or AMD-V) turned on, and room for a VM.

  2. Install the kit:

    sibling add https://gitea.federated.computer/Federated_Computer/coreapp-dev.git
    

    Log out and back in afterwards, so you’re in the libvirt group.

  3. Create a Core in a VM, make it reachable, and provision it. This takes a VPS with a public address, and about an hour. Follow Setting up coreapp-dev, which walks through each part with a check at the end.

  4. Make an app and deploy it:

    coreapp new my-app --postgres --sso
    cd my-app
    coreapp deploy
    coreapp check
    

    It’s now running at https://my-app.<your Core's domain>.

Each step is explained in Setting up coreapp-dev, and making your own app in Building a Coreapp. When it works, publish it.

Plan servers for your Cores

Before you provision Cores on your own infrastructure, use Coremarket to find out how big each VM needs to be for the applications you’ll run, and what it costs at each cloud provider in the regions you need.

You’ll also need

  • A You host account, for the dashboard and its SSH key. The Free tier is enough to start. See Hosting: Getting started.
  • A git host and container registry for your apps. Gitea on your Core has both.