Skip to content

adomingues/createProjectDirectories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

usage: createProjectDirectories.py [-h] -p PROJECT -vc VERSIONCONTROL [-r REPOSITORY]

Creates a directory and subdirectories for a version controlled project. Starts either a mercurial (hg) or a git repo. Project structure roughly follows the suggestions from: A Quick Guide to Organizing Computational Biology Projects

Directory structure: Project/

  • .git/
  • data/
  • doc/
  • scripts/
  • results/

Notes: By default it assumes that the repo will live online in bitbucket, and the user name is also set to "adomingues". Use options -r and -u to change this.

optional arguments:

-h, --help
show this help message and exit

-p PROJECT, --project PROJECT Project name. The root of the directory structure

-vc VERSIONCONTROL, --versionControl VERSIONCONTROL Options: hg or git. Starts version control with list of ignored files included.

-r REPOSITORY, --repository REPOSITORY Options: github or bitbucket. Adds an online repo to the VCS definitions.

About

Simple script to quickly set-up a VC project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages