/funkyboy.zone

Linux server run at funkyboy.zone

Primary LanguageSaltStackMIT LicenseMIT

funkyboy.zone

Linux server run at funkyboy.zone

Table Of Contents

Overview

Server is setup using Salt.

See Cloud Setup for instructions on how to setup Funky Boy.

See DEVELOPMENT.md for instructions on how to develop setup files for Funky Boy.

Why the name funkyboy.zone?
In one of my favorite movies, Redline, the antagonist has a secret weapon named "Funky Boy". I found this funny, and decided to name my Linux server: Funky Boy.

Cloud Setup

  1. Clone down this repository and initialize the submodules
    git clone git@github.com:Noah-Huppert/funkyboy.zone.git
    cd funkyboy.zone
    git submodule update --init
    
    You must have access to the funkyboy.zone-secrets repository. This private repository holds secret setup information.
  2. Make a copy of .env-example named .env, edit your own values.
  3. Setup cloud resources on DigitalOcean using Terraform:
    ./client-scripts/setup-cloud.sh
    ./client-scripts/setup-cloud.sh ./kubernetes/terraform
    
  4. To setup the Kubernetes cluster follow instructions in kubernetes/README.md.
  5. Run the initial setup script on the Linux server:
    ./client-scripts/init.sh
    
  6. (Optional) Restore data from a backup, ssh into the server and run:
    sudo su
    /opt/backup/run-restore.sh