bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.44k stars 1.46k forks source link

Git tag/branch for 'release' or such, or easy curling #442

Closed gregglind closed 11 years ago

gregglind commented 11 years ago

In README and other docs, it would be nice to see a stable one-line installer for the truly lazy:

curl https://raw.github.com/defnull/bottle/release/bottle.py -o bottle.py

For that to happen, there needs to be a tag/branch for 'release'.

gregglind commented 11 years ago

Seems like this is covered on the main site at: http://bottlepy.org/docs/dev/tutorial.html#tutorial-templates but not mentioned consistently.

defnull commented 11 years ago

Downloading bottle.py directly is not recommended, because you won't get any bug-fixes that way. The download link (see here http://bottlepy.org/docs/dev/tutorial.html#installation ) only gets you the development snapshot for quick testing. That is intentional, stable releases should be installed via pip or a package manager.

gregglind commented 11 years ago

I think we are discussing different use cases.

For the use case where I want to do a demo, using bottle as a small, minimal server, I want transportable. The suggestion ask for a 'release' tag is to make it easier to always get the latest 'stable' release. If I want to update under that scenario, it's exactly the same curl command, and I would get the bug fixes :)

This micro-usage of Bottle is one of the few reasons I have not to simple use a JavaScript client-side framework for these sorts of projects.

(Obviously, pip / venv / package manager is clearly the 'right way' for longer lived installs / promoting to a Real Project).

defnull commented 11 years ago

How about:

(updated daily)

gregglind commented 11 years ago

That sounds like a great set of links, and worth putting in the README, for the super super lazy!

GL

On Fri, Feb 15, 2013 at 6:07 PM, Marcel Hellkamp notifications@github.comwrote:

How about:

(updated daily)

— Reply to this email directly or view it on GitHubhttps://github.com/defnull/bottle/issues/442#issuecomment-13635601.