Skip to content

NUKnightLab/git-deploy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-deploy-example

Example project demonstrating git-deploy configuration

Getting started

Install git-deploy

 $ pip install git+https://github.com/NUKnightLab/[email protected]

Create /etc/ansible/hosts

See the ansible docs for details. The section labels in your hosts file should match the deployment environments you intend to use with git-deploy (e.g., we use stg and prd to indicate staging and production deployment environments respectively)

Create /etc/ansible/roles

Copy roles from the git-deploy repo into /etc/ansible/roles

Clone this repository

 $ git clone https://github.com/NUKnightLab/git-deploy-example

Set the missing variables in the config: deploy/config.common.yml

Deploy the project

 $ git deploy stg main

About

Example project demonstrating git-deploy configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages