Skip to content

capbash/capbash-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capbash-git

Scripts for installing git and cloning a repository.

How to Install

Install capbash first, more details at: https://github.com/capbash/capbash

curl -s https://raw.githubusercontent.com/capbash/capbash/master/capbash-installer | bash
capbash new YOUR_REPO_ROOT
cd YOUR_REPO_ROOT

Now you can install git into your project

capbash install git

Configurations

The available configurations include:

GIT_APPS_DIR=${GIT_HOME-/var/local/apps}
GIT_REPO_NAME=${GIT_PROJECT_NAME-samplephp}
GIT_URL=${GIT_URL-https://github.com/capbash/samplephp}
GIT_REMOTE=${PHPAPP_REMOTE-origin}
GIT_BRANCH=${PHPAPP_BRANCH-master}

Deploy to Remote Server

To push the git script to your server, all you need if the IP or hostname of your server (e.g. 192.167.0.48) and your root password.

capbash deploy <IP> git

For example,

capbash deploy 127.0.0.1 git

About

A capbash submodule for install git and clone stuff from git repostiories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages