skolplattformen-backup/apps/website
Christian Landgren 565c27e6fb
Host web in kubernetes instead of Vercel (#647)
* chore: upgrade to node 16.13

* feat: add kubernetes manifests to run the web in kubernetes instead of Vercel

* fix: rearrange build scripts for speed

* feat: add readiness prope to never replace a working site with a failed one

* fix: add headers for hsts etc

* fix: add unsafe-inline

* fix: duplicate entities inline-style

* fix: add ipv6 support in web

* fix: Ingress should be ClusterIP, not LoadBalancer

* Add resources

* feat: switch to main domain

* fix: hsts preload requires www to also be encrypted
2023-09-18 23:25:34 +02:00
..
__mocks__ moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
assets moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
components fix: removed price components. Altered QA. (#653) 2023-09-17 19:38:08 +02:00
content moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
k8s Host web in kubernetes instead of Vercel (#647) 2023-09-18 23:25:34 +02:00
pages moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
styles moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
utils moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
.babelrc moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
.dockerignore Host web in kubernetes instead of Vercel (#647) 2023-09-18 23:25:34 +02:00
.eslintrc.json moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
.gitignore moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
.nvmrc moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
.prettierrc fix: lint and prettier fixes 2021-10-06 22:47:50 +02:00
Dockerfile Host web in kubernetes instead of Vercel (#647) 2023-09-18 23:25:34 +02:00
README.md moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
jest.config.js moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
next-env.d.ts moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
next-sitemap.js moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
next.config.js moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
package.json moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
postcss.config.js moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
skaffold.yaml Host web in kubernetes instead of Vercel (#647) 2023-09-18 23:25:34 +02:00
tailwind.config.js Fix: Styles, pricing & contact email (#576) 2021-12-02 11:32:08 +00:00
tsconfig.json moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
vercel.json moved site and app to new directory structure 2021-10-03 21:16:40 +02:00
yarn.lock moved site and app to new directory structure 2021-10-03 21:16:40 +02:00

README.md

Öppna skolplattformen

This is the website for Öppna skolplattformen. It's built using Next.js. Most of the site content can be found in the components folder.

Getting started

Have a look at the overall readme for general instructions on getting started.

Run the following commands from the packages/site directory.

$ yarn
$ yarn dev

Open your favorite browser to http://localhost:3000

Build a release version of the site with:

$ yarn build

Running tests

$ yarn lint
$ yarn test