Skip to content

How to set up a local development environment (macOS, Ubuntu) with one-liner.

License

Notifications You must be signed in to change notification settings

tqer39/local-workspace-provisioning

Repository files navigation

Repository Description

This repository contains a shell script for provisioning a local development environment.

Setup Instructions

curl -sL https://setup.tqer39.dev | bash

$HOME/workspace/local-workspace-provisioning will be placed.

High-Level Architecture

  1. Acquire the tqer39.dev domain on Google Cloud Platform (GCP) Cloud Domains
  2. Define the tqer39.dev domain in Cloudflare
    1. SSL/TLS is automatically issued
    2. Issue an NS record and set it in Cloud Domains
  3. Add rules to Cloudflare and redirect to setup when accessing https://setup.tqer39.dev/*
  4. When accessing https://setup.tqer39.dev with cURL, the setup in this repository is loaded as plain text and executed with bash

Sequence Diagram

sequenceDiagram
  participant User
  participant Cloudflare
  participant CloudDomains
  participant GitHub
  participant setup.tqer39.dev

  User->>Cloudflare: https://setup.tqer39.dev
  Cloudflare->>Cloudflare: Add rule
  Cloudflare->>setup.tqer39.dev: Redirect
  setup.tqer39.dev->>GitHub: setup
  GitHub->>setup.tqer39.dev: setup
  setup.tqer39.dev->>User: setup
  User->>User: Install software
  User->>User: Configure dotfiles
Loading

Setup Contents

Installed Software

dotfiles

Place dotfiles using symbolic links.

  • .config/git/ignore
  • .config/starship.toml
  • .bash_profile
  • .bashrc
  • .gitconfig
  • .hyper.js
  • .zshrc

About

How to set up a local development environment (macOS, Ubuntu) with one-liner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •