Your OS in 10 minutes.

    You don't need to be an expert programmer. Follow this step-by-step guide to install Mattioli.OS on your computer and become operational today.

    1

    Prerequisites

    Before you start, make sure you have this software installed.

    2

    Database Setup

    Mattioli.OS uses Supabase (free). Let's create your backend.

    1. Go to supabase.com and create an account.
    2. Click on "New Project" and give it a name (e.g., "My Life OS").
    3. Once the project is ready, go to the SQL Editor section (terminal icon on the left).
    4. Copy the code below and paste it in the editor, then click Run.
    schema.sql

    The file is too long to display here.
    Download it by clicking the button above.

    After running the SQL, go to Project Settings > API. You'll need the Project URL and anon public key for later.

    3

    Code Installation

    Let's download the "engine" to your computer.

    Open the terminal (or CMD) and paste these commands one at a time:

    # 1. Clone the repositorygit clone https://github.com/simo-hue/mattioli.OS.git
    # 2. Enter the foldercd mattioli.OS
    # 3. Install dependenciesnpm install
    4

    Secret Configuration

    Let's connect the code to your database.

    1. Open the mattioli.OS folder with VS Code.
    2. Find the file called .env.example (it might be hidden, use cmd+shift+. on mac).
    3. Rename it to .env.
    4. Open the file and paste the keys you got from Supabase in step 2.
    # .env file content
    VITE_SUPABASE_URL=https://your-project.supabase.co
    VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...

    Launch!

    It's the moment of truth.

    npm run dev

    Now open your browser and go to http://localhost:8080 (or the indicated port).
    Welcome to Mattioli.OS.

    Extra

    Publish Online

    Want to use Mattioli.OS from your phone or share it? Here's how to put it online for free.

    Vercel (Recommended)

    • Automatic configuration
    • Automatic updates from Git
    1. Upload the project to your own GitHub repository.
    2. Go to vercel.com/new and import the repo.
    3. In settings, expand Environment Variables.
    4. Copy the variables from your .env file (URL and Key).
    5. Click Deploy.

    GitHub Pages

    • Completely free
    • Manual path configuration
    1. In the vite.config.ts file, add base: '/repo-name/',
    2. Run npm run build in the terminal.
    3. Upload the dist folder to GitHub.
    4. In the repo Settings, go to Pages and select the branch/folder.

    Problems during installation?

    No problem. Check the FAQ or open an Issue.