freckles-dev-project

Description

Prepare freckles dev project locally.

Uses pyenv to install Python and create a virtualenv named 'freckles-dev'. Clone/pull all required dependency projects into the project folder, then install them into the virtualenv.

Also create a freckles context called 'freckles-dev', which points to all the development frecklets and resources, and sets the 'keep_run_folder' context configuration value to 'true'. To be used like:

frecklecute -c freckles-dev user-exists markus

Note: you still need to 'unlock' ('freckles context unlock') the context if you haven't done so yet, to be able to change this context.

Also create a file called '.python-version' in the project base, so that pyenv always loads the 'freckles-dev' virtualenv automatically when the user visits this folder.

Finally, create a frecklet in the '.freckles' sub-folder, called 'update-freckles-dev', which lets you pull all relevant git repositories with one command:

frecklecute -c freckles-dev update-freckles-dev

Note: the first time you do this might take a while because freckles runtime dependencies will be installed

Variables

Name Type Default Description

project_base

string --

The base folder for the project sources (needs to be absolute!). Required

Command-line

frecklecute freckles-dev-project --help

Usage: frecklecute freckles-dev-project [OPTIONS] PROJECT_BASE

  Prepare freckles dev project locally.

  Uses [pyenv](https://github.com/pyenv/pyenv) to install Python and create
  a virtualenv named 'freckles-dev'. Clone/pull all required dependency
  projects into the project folder, then install them into the virtualenv.

  Also create a freckles context called 'freckles-dev', which points to all
  the development frecklets and resources, and sets the 'keep_run_folder'
  context configuration value to 'true'. To be used like:

      frecklecute -c freckles-dev user-exists markus

  Note: you still need to 'unlock' ('freckles context unlock') the context
  if you haven't done so yet, to be able to change this context.

  Also create a file called '.python-version' in the project base, so that
  pyenv always loads the 'freckles-dev' virtualenv automatically when the
  user visits this folder.

  Finally, create a frecklet in the '.freckles' sub-folder, called 'update-
  freckles-dev', which lets you pull all relevant git repositories with one
  command:

      frecklecute -c freckles-dev update-freckles-dev

  Note: the first time you do this might take a while because freckles
  runtime dependencies will be installed

Options:
  --help  Show this message and exit.