backend/README.md contains information about authentication and backend development.
YJDH-Kesäseteli service for employers to fulfill employee applications
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.kesaseteli.example
to.env.kesaseteli
and modify it if needed. -
Run
yarn employer
or, if you want to rebuild, thenyarn employer --build
- The Frontend is now running at localhost:3000
- The backend is now running at localhost:8000
- If services fail to get up,
yarn clean
ordocker system prune --all
might help.
YJDH-Kesäseteli service for young people to send kesäseteli applications
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.kesaseteli.example
to.env.kesaseteli
and modify it if needed. -
Run
yarn youth
or, if you want to rebuild, thenyarn youth --build
- The Frontend is now running at localhost:3100
- The backend is now running at localhost:8000
- If services fail to get up,
yarn clean
might help.
YJDH-Kesäseteli service for young people to send kesäseteli applications
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.kesaseteli.example
to.env.kesaseteli
and modify it if needed. -
Run
yarn handler
or, if you want to rebuild, thenyarn handler --build
- The Frontend is now running at localhost:3200
- The backend is now running at localhost:8000
- If services fail to get up,
yarn clean
might help.
YJDH-Benefit
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.benefit-*.example
to.env.benefit-*
and modify them if needed. -
Run
yarn benefit
or, if you want to rebuild, thenyarn benefit --build
- The Applicant Frontend is now running at localhost:3000
- The Handler Frontend is now running at localhost:3100
- The backend is now running at localhost:8000
YJDH-TET-Admin is a UI for Helsinki city employees or private employers to add TET job advertisements (also called job postings in the code).
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.tet.example
to.env.tet
and modify it if needed. -
You need to set
LINKEDEVENTS_API_KEY
in.env.tet
for this service to work. Usually this is set to Linked Events test environment (default in.env.tet.example
), so you need to ask for this. -
Run
yarn tet-admin up
or, if you want to rebuild, thenyarn tet-admin up --build
- The Frontend is now running at localhost:3002
- The backend is now running at localhost:8000
Running yarn tet-admin down
brings down all services.
YJDH-TET-Youth is a UI for pupils to search for TET job advertisements.
-
Run
yarn
to install necessary packages -
Copy the contents of
.env.tet.example
to.env.tet
and modify it if needed. -
Run
yarn tet-youth up
or, if you want to rebuild, thenyarn tet-youth up --build
- The Frontend is now running at localhost:3002
- The backend is now running at localhost:8000
Running yarn tet-youth down
brings down all services.
- Run
yarn install
andyarn prepare
on project root - Try
git commit -m foo
. It does not commit anything for real but pre-commit hook should be triggered.
If the pre-commit hook hangs, or you want to push changes with failing tests, you can disable the hook with
npx husky uninstall
. Running yarn prepare
reactivates the hook.
-
If github action deploy fail with error like this in your pull-request:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: Service "yjdh-135-send-localization-param-to-suomifi-yjdh-ks-service" in namespace "yjdh-yjdh-135-send-localization-param-to-suomifi-227" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "yjdh-135-send-localization-par-review-yjdh-ks-bknd": current value is "yjdh-135-send-localization-par-review-yjdh-ks-empl"
The reason is that your pr's branch name is too long. You have to rename it and create new pr. Instructions: https://stackoverflow.com/questions/30590083/how-do-i-rename-both-a-git-local-and-remote-branch-name