Skip to Content
Hands-On RESTful Python Web Services - Second Edition
book

Hands-On RESTful Python Web Services - Second Edition

by Gastón C. Hillar
December 2018
Intermediate to advanced
500 pages
12h 33m
English
Packt Publishing
Content preview from Hands-On RESTful Python Web Services - Second Edition

Creating a new Pyramid project based on a template

Now, we will generate a Pyramid project by using an app template, also known as scaffold. Notice that you need Git installed on your development computer to use the next command. You can visit the following web page for more information about Git: https://git-scm.com.

Run the following command to use cookiecutter to generate a new project based on the pyramid-cookiecutter-starter template. We use the --checkout 1.10-branch option to use a specific branch that makes sure that the template is compatible with Pyramid 1.10:

cookiecutter gh:Pylons/pyramid-cookiecutter-starter --checkout 1.10-branch  

The command will ask you for the project's name. Enter metrics and press Enter. You will see a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building RESTful Python Web Services

Building RESTful Python Web Services

Gastón C. Hillar
Python Command Line Tools

Python Command Line Tools

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 9781789532227Supplemental Content