What is pyramid_starter_seed

本教程将帮助您开始使用PyramidWeb框架,使用基于以下内容的非常小的starter seed项目进行开发:

  • Pyramid的 pcreate -t starter 项目

  • Yeoman generator-webapp 项目

您可以在Github上找到Pyramid起始种子代码:

Thanks to Yeoman you can improve your developer experience when you are in developmentproduction 模式感谢:

  • Javascript testing setup

  • Javascript code linting

  • Javascript/CSS concat and minification

  • image assets optimization

  • html template minification

  • 在生产模式下切换到供应商插件的cdn版本

  • UNCSS

  • 更多(您可以添加功能添加新的呼噜声任务)

We will see later how you can clone pyramid_starter_seed 从Github中,添加新功能(例如:身份验证、SQLAlchemy支持、用户模型、JSON REST API、将现代JavaScript框架添加为AngularJS等),然后启动一个控制台脚本,帮助您使用更具自以为是的修改重命名整个项目,例如 pyramid_yourawesomeproduct.

基于 Davide Moro 文章(如何将 Yeoman workflow 与 Pyramid 集成):