My personal website and sandbox project.
Find a file
aleksa 3770e67898
All checks were successful
E2E Tests with Cypress / cypress (push) Successful in 3m4s
E2E Tests with Cypress / cypress (pull_request) Successful in 3m0s
fix(layout): use dvh to prevent mobile scroll issues
2025-04-17 04:06:02 +02:00
.forgejo/workflows ci: remove redundant push trigger for main 2025-04-17 03:46:56 +02:00
.vscode initial boilerplate code 2025-04-12 07:05:13 +02:00
cypress initial boilerplate code 2025-04-12 07:05:13 +02:00
src fix(layout): use dvh to prevent mobile scroll issues 2025-04-17 04:06:02 +02:00
.dockerignore initial boilerplate code 2025-04-12 07:05:13 +02:00
.env.example initial boilerplate code 2025-04-12 07:05:13 +02:00
.eslintrc.json initial boilerplate code 2025-04-12 07:05:13 +02:00
.gitignore initial boilerplate code 2025-04-12 07:05:13 +02:00
.prettierignore initial boilerplate code 2025-04-12 07:05:13 +02:00
.prettierrc initial boilerplate code 2025-04-12 07:05:13 +02:00
cypress.config.ts initial boilerplate code 2025-04-12 07:05:13 +02:00
docker-compose.yaml initial boilerplate code 2025-04-12 07:05:13 +02:00
Dockerfile initial boilerplate code 2025-04-12 07:05:13 +02:00
Dockerfile.cypress initial boilerplate code 2025-04-12 07:05:13 +02:00
LICENSE.md initial boilerplate code 2025-04-12 07:05:13 +02:00
next.config.ts initial boilerplate code 2025-04-12 07:05:13 +02:00
package.json initial boilerplate code 2025-04-12 07:05:13 +02:00
README.md initial boilerplate code 2025-04-12 07:05:13 +02:00
tsconfig.json initial boilerplate code 2025-04-12 07:05:13 +02:00
yarn.lock initial boilerplate code 2025-04-12 07:05:13 +02:00

aleksa.sh

Next JSYarnTypeScriptDockercypress

my personal website and a sandbox to practice react/next.js and setting up + deploying relevant projects.

running

requires docker and docker compose (optionally node + yarn to use cypress without docker)

run dev (w/ hot reload) with docker compose up app-dev

run prod with docker compose up app-prod

for e2e, run the app in test mode with docker compose up app-test, then start a native cypress run with yarn e2e. for a docker cypress run instead, use a tarball with custom build context to circumvent the default .dockerignore file like in the ci example.

test expansion is planned for the future.

ci/cd

forgejo runner used (labelled ubuntu-host-docker) is a host passthrough runner that has access to an ubuntu host machine with docker and docker compose installed. refer to this forgejo actions documentation for more info.

make sure to always have a cleanup task at the end to prevent piling up containers on the host machine.

the ci workflow syntax and tasks may undergo frequent changes due to forgejo actions being wip.

future commits will introduce auto-deployment in cd.

contact

feel free to reach out to me for any purpose on aleksa@aleksa.sh :)