Giter Club home page Giter Club logo

dotfiles's Introduction

Dotfiles

This repository contains my personal setup for MacOS machine.

Quick Start

  1. Clone this repository:
git clone [email protected]:jollopre/dotfiles.git ~/dotfiles
  1. Import public and private gpg keys from the backup store:
./installer gpg --import-secret-key=/a/path/to/private.key.gpg
./installer gpg --import-public-key=/a/path/to/public.key.gpg

# Check keys are properly imported

./installer gpg --list-secret-keys
./installer gpg --list-public-keys
  1. Run installer
# Run brew bundle to install cask/brew programs
./installer install
# Copy decrypted secret files into ~
./installer copy-secrets
# Copy dotfiles
./installer copy-dotfiles

Encrypt data

We use git-secret to store secrets that otherwise would be compromissed within git versioning. Make sure that public/private gpg keys are stored in the machine beforehand.

New file to be added

In order to add a new file for encrypting, you can type the following:

# Add file to the index of files tracked to be encrypted
git-secret add <filename>
# Encrypts all the files that have been added
git-secret hide

Update existing file

In order to encrypt an updated file, you can modify the file as always but make sure to type:

git-secret hide

and remember, once you are done, please push changes back to this repository :).

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.