A simple-looking website about me :)
Guide to running the website
- Docker Compose (installation guide)
-
Clone repository
git clone https://github.com/altrup/altrup.dkg.zone.git
-
Enter newly created folder
cd altrup.dkg.zone -
Copy
.env.exampleand update to your valuescp .env.example .env
-
Set up supabase (For self-hosting, see Supabase self-hosting guide)
-
Create a
.envfile by copying the.env.examplefile, 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.jsonfor 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
-
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