trypyramid.com icon indicating copy to clipboard operation
trypyramid.com copied to clipboard

the extending page is wildly out of date

Open mmerickel opened this issue 6 years ago • 4 comments

specifically "Making Good Development Environments" at https://trypyramid.com/extending-pyramid.html

  • uses pcreate
  • uses paste instead of waitress
  • recommends weberror
  • recommends repoze.tm
  • recommends a pipeline configuration
  • bad linting around entry_points = """ due to spaces in a dict item
  • doesn't explain {{project}} vs {{package}}
  • misuses {{project}} in [app:{{project}}]

mmerickel avatar Oct 26 '18 16:10 mmerickel

Consider also::

host=127.0.0.1

instead of::

host=0.0.0.0

Who knows who is going to install what on what box and inadvertently expose pserve, and whatever's behind it, to the Internet with just HTTP.

kpinc avatar Oct 26 '18 16:10 kpinc

@mmerickel do you mean replace this stuff with cookiecutter stuff? I assume so, but don't want to start on this without a direction to follow.

stevepiercy avatar Oct 29 '18 06:10 stevepiercy

These sections should be removed and just link to some locations in the pyramid docs (which may not exist yet). They are not maintainable here which is the reason they are suggesting several things that are almost a decade out of date.

mmerickel avatar Oct 29 '18 18:10 mmerickel

@mmerickel means these pages in the Pyramid docs:

  • Pyramid cookiecutters: Update content for how to write a cookiecutter following scaffolds' example.
  • Create a new page for Making good add-ons.
  • Create a new page for Making Good Development Environments

stevepiercy avatar Oct 29 '18 20:10 stevepiercy