GithubHelp home page GithubHelp logo

madelyneriksen / cookiecutter-cherrypy Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 7 KB

A short and sweet template for CherryPy, Jinja2, and PeeWee ORM.

License: MIT License

Python 84.76% CSS 5.90% HTML 9.33%
python cherrypy microservice template boilerplate

cookiecutter-cherrypy's Introduction

CherryCutter

A minimal cookiecutter template for a minimal framework, CherryPy.

Cherrypy is amazing and very tiny; in fact, it's really, really tiny. I often find myself writing the same boilerplate code over and over, using the same modules, and building the same structure.

Enter cookiecutter!

This is an opinionated template that inclues PeeWee, Jinja2, and CherryPy for bootstraping a small site or a microservice. If you'd like to use Cherrypy and this template without them, feel free to fork and customize away :)

Requirements

You will need cookiecutter installed to use this template pip install cookiecutter

In addition, the requirements.txt file only works with Python3. You may need different versions if you need Python 2.7 support (why haven't you migrated yet?).

Usage

Generate a new Cookiecutter template layout:

cookiecutter gh:madelyneriksen/cookiecutter-cherrycutter

Install Requirements:

cd yourprojectslug
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt

Run the App:

python cli.py

Visit "localhost:8080/" in your browser for a "Hello World!"

To Do

  • Add template README and License
  • Possibly replace project_slug in the module

License

This project is licensed under the terms of the MIT License

cookiecutter-cherrypy's People

Contributors

madelyneriksen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zachskaggs

cookiecutter-cherrypy's Issues

Typo in readme.md

cookiecutter gh:madelyneriksen/cookiecutter-cherrycutter should be
cookiecutter gh:madelyneriksen/cookiecutter-cherrypy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.