Skip to content

altrup/altrup.dkg.zone

Repository files navigation

altrup.dkg.zone

A simple-looking website about me :)

Setup

Guide to running the website

Prerequisites

Installation & Usage

  • Clone repository

    git clone https://github.com/altrup/altrup.dkg.zone.git
  • Enter newly created folder

    cd altrup.dkg.zone
  • Copy .env.example and update to your values

    cp .env.example .env
  • Set up supabase (For self-hosting, see Supabase self-hosting guide)

    • Create a .env file by copying the .env.example file, and update the placeholders with your Supabase credentials and table name

    • Table structure:

      create table public.table_name (
        id bigint generated by default as identity not null,
        "Sections" jsonb null,
        constraint portfolio_new_pkey primary key (id)
      ) TABLESPACE pg_default;
    • See section.json for an example of a section you would put in your Supabase table

  • Start Docker container

    docker compose up -d
  • To stop, run

    docker compose down
  • To update, run

    docker compose build

Testing

  • For testing changes, instead of using docker and rebuilding every time, you can also run using npm

  • Install npm packages

    npm install
  • Run website

    npm run dev

About

My Personal Website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published