My personal website and sandbox project.
Find a file
aleksa a9b8e7bc9e
All checks were successful
E2E Tests with Cypress / cypress (push) Successful in 3m12s
initial boilerplate code
2025-04-12 07:05:13 +02:00
.forgejo/workflows initial boilerplate code 2025-04-12 07:05:13 +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 initial boilerplate code 2025-04-12 07:05:13 +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 :)