Skip to content
forked from habof/devops

scripts to make development easier

Notifications You must be signed in to change notification settings

kristyfrey/devops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops

  • bash functions to make development easier
  • Sample server management scripts

Prerequisites

  • git installed OR Git for Windows (git bash) if you are using windows - make sure to be on the latest version
  • Make sure ssh is set up
    mkdir -p ~/.ssh
    chmod 700 ~/.ssh
    touch ~/.ssh/authorized_keys
    chmod 600 ~/.ssh/authorized_keys
    touch ~/.ssh/config
    
  • If you don't already have an id_rsa key pair (id_rsa and id_rsa.pub) in ~/.ssh then generate the pair without a passphrase (hit enter when prompted for the passphrase).
    ssh-keygen -t rsa -b 4096 -C "[email protected]"
    

Setup

  • Clone this repo and note the clone location
  • Add these lines at the end of ~/.bashrc and modify with your preferences and clone location
    # BEGIN devops settings for .bashrc
    DEVOPS_ROOT=/path/to/devops/clone
    DEVOPS_GIT_CLONE_PATH=${HOME}/github
    DEVOPS_GIT_CLONE_STYLE=branch-namespace
    
    export DEVOPS_GIT_CLONE_PATH
    export DEVOPS_GIT_CLONE_STYLE
    source ${DEVOPS_ROOT}/init.sh
    # END devops settings for .bashrc
    

About

scripts to make development easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%