Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting #2

Open
2 of 4 tasks
altinnadmin opened this issue Jan 20, 2022 · 2 comments
Open
2 of 4 tasks

Hosting #2

altinnadmin opened this issue Jan 20, 2022 · 2 comments
Assignees
Labels
kind/user-story Used for issues that describes functionality for our users. ops/ci-cd Continous integration, continous deploy and automatic tests. ops/performance Issue related to performance or scalability. solution/cdn Issues related to the hosting solution

Comments

@altinnadmin
Copy link
Member

altinnadmin commented Jan 20, 2022

Description

Currently this PoC is using github pages. We should instead use a solution for hosting without the limitations of github pages.

Tasks

  • Set up new infrastructure
  • Migrate to using Static Web Apps for hosting and GitHub Actions for build/deploy.
  • Change DNS
  • Delete gh-pages branch
@altinnadmin altinnadmin self-assigned this Jan 20, 2022
@altinnadmin altinnadmin added kind/user-story Used for issues that describes functionality for our users. ops/ci-cd Continous integration, continous deploy and automatic tests. ops/infrastructure ops/performance Issue related to performance or scalability. labels Jan 21, 2022
@altinnadmin altinnadmin added solution/cdn Issues related to the hosting solution and removed ops/infrastructure labels Feb 14, 2022
@andreasbalevik
Copy link
Contributor

andreasbalevik commented Feb 28, 2022

Need to add a oauth service for Netlify CMS login.
https://www.netlifycms.org/docs/github-backend/ (if we want to use github for authentication)

example config:

backend:
  name: github
  # Replace this with the GitHub repo you want to make change
  repo: github-username/target-github-repo
  # This site_domain and base_url are placeholders, replace with the correct one.
  site_domain: https://some-cms-domain.com # CMS's domain
  base_url: https://some-oauth-domain.com # OAuth Server's domain

For localhost, the default oauth provider is hosted by Netlify. This does not work in production.

https://infoportal.no/admin/#/ does not work...

  • setup a dedicated oauth server for github authentication in Netlify CMS

@altinnadmin
Copy link
Member Author

I've now added build/deploy with Azure Static Web Apps. See #50 for example PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story Used for issues that describes functionality for our users. ops/ci-cd Continous integration, continous deploy and automatic tests. ops/performance Issue related to performance or scalability. solution/cdn Issues related to the hosting solution
Projects
None yet
Development

No branches or pull requests

2 participants