Code Monkey home page Code Monkey logo

demeester.app's Introduction

demeester.app

site showing all my projects published under demeester.app This is the entrypoint for creating building a new services within demeester.app

New projects are deployed and constructed using terraform and terraform cloud. Shared infra is available in infra.

Shared infra contains DNS domain, key store, artifacts account and an acme registration Shared infra is deployed trough terraform cloud and the project is managed via terraform cloud.

#managing projects.

Creating new projects and managing projects is done from the projects folder. The project can only run locally because it bootstraps the base layer for projects. the deployement needs tokens for terraform and github so we need some extra steps for that as well:

adding a new project

edit the pist of projects in [./projects/variables.tf] to match the required output

login to az tf and github.

terraform login
az login
gh auth login

connect the terraform cloud inlog to tfe provider:

$env:TERRAFORM_CONFIG = (resolve-path "~/appdata/roaming/terraform.d/credentials.tfrc.json")

get the gh token from the host file from pwsh

$null = "$(get-content (resolve-path "~/.config/gh/hosts.yml"))" -match "oauth_token: (?<token>\w+)"
$env:GITHUB_TOKEN = $matches["token"] 

if we stick it all together:

terraform login
az login
gh auth login

$env:TERRAFORM_CONFIG = (resolve-path "~/appdata/roaming/terraform.d/credentials.tfrc.json")

$null = "$(get-content (resolve-path "~/.config/gh/hosts.yml"))" -match "oauth_token: (?<token>\w+)"
$env:GITHUB_TOKEN = $matches["token"] 

demeester.app's People

Contributors

demeesterdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.