You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 months ago
..
__mocks__ moved site and app to new directory structure 3 years ago
assets moved site and app to new directory structure 3 years ago
components fix: removed price components. Altered QA. (#653) 6 months ago
content moved site and app to new directory structure 3 years ago
k8s Host web in kubernetes instead of Vercel (#647) 6 months ago
pages moved site and app to new directory structure 3 years ago
styles moved site and app to new directory structure 3 years ago
utils moved site and app to new directory structure 3 years ago
.babelrc moved site and app to new directory structure 3 years ago
.dockerignore Host web in kubernetes instead of Vercel (#647) 6 months ago
.eslintrc.json moved site and app to new directory structure 3 years ago
.gitignore moved site and app to new directory structure 3 years ago
.nvmrc moved site and app to new directory structure 3 years ago
.prettierrc fix: lint and prettier fixes 3 years ago
Dockerfile Host web in kubernetes instead of Vercel (#647) 6 months ago
README.md moved site and app to new directory structure 3 years ago
jest.config.js moved site and app to new directory structure 3 years ago
next-env.d.ts moved site and app to new directory structure 3 years ago
next-sitemap.js moved site and app to new directory structure 3 years ago
next.config.js moved site and app to new directory structure 3 years ago
package.json moved site and app to new directory structure 3 years ago
postcss.config.js moved site and app to new directory structure 3 years ago
skaffold.yaml Host web in kubernetes instead of Vercel (#647) 6 months ago
tailwind.config.js Fix: Styles, pricing & contact email (#576) 2 years ago
tsconfig.json moved site and app to new directory structure 3 years ago
vercel.json moved site and app to new directory structure 3 years ago
yarn.lock moved site and app to new directory structure 3 years ago

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