Skip to content

A template repository to begin with including common files

License

Notifications You must be signed in to change notification settings

uc-cdis/template-repo

Repository files navigation

Service Template

This is template repository to create services.

Quick Start

  1. Install Cookiecutter and Pipenv:

    pip install cookiecutter pipenv
  2. Use Cookiecutter to create your new service:

    cookiecutter gh:uc-cdis/template-repo
  3. Follow the interactive guide and you'll get your new service.

About Cookiecutter, Pipenv

Though these two utilities are written in Python, they are recommended to be installed as global software on a development computer. Therefore, system packages are preferred over pip install, e.g. Homebrew on macOS:

brew install cookiecutter pipenv

If pip install is your only option, you may choose to install in user base:

pip install --user cookiecutter pipenv

You may need to add the bin directory under "user base" to your PATH, for example:

echo "export PATH=\"`python -m site --user-base`/bin:\$PATH\"" >> ~/.bash_profile

(Or alternatively, you may use sudo pip install without --user and PATH trouble)

About pyenv

It is convenient to manage multiple Python versions and multiple virtualenvs with pyenv. It is usually available as a system package. For example on macOS:

brew install pyenv pyenv-virtualenv
pyenv init 2>> ~/.bash_profile
pyenv virtualenv-init 2>> ~/.bash_profile

Pipenv would make the most of pyenv if they are both installed.

About

A template repository to begin with including common files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published