Skip to content

A cookiecutter (project template) for creating a Pyramid starter project using Jinja2 for templating.

Notifications You must be signed in to change notification settings

domenkozar/pyramid-cookiecutter-jinja2

Repository files navigation

pyramid-cookiecutter-jinja2

Master Travis CI Status

A cookiecutter (project template) for creating a Pyramid starter project using Jinja2 for templating.

See pyramid_jinja2 documentation for more details.

Requirements

Usage

  1. Generate a Pyramid project, following the prompts from the command.
$ cookiecutter https://github.com/Pylons/pyramid-cookiecutter-jinja2
  1. Finish configuring the project by creating a virtual environment and installing your new project. These steps are output as part of the cookiecutter command above and are slightly different for Windows.
# Change directory into your newly created project.
$ cd myproj
# Create a virtual environment...
$ python3 -m venv env
# ...where we upgrade packaging tools...
$ env/bin/pip install --upgrade pip setuptools
# ...and into which we install our project and its testing requirements.
$ env/bin/pip install -e ".[testing]"
  1. Run your project's tests.
$ env/bin/pytest
  1. Run your project.
$ env/bin/pserve development.ini

About

A cookiecutter (project template) for creating a Pyramid starter project using Jinja2 for templating.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published