This commit creates all the boilerplate code to make a new Flask app, a Vagrant development environment, developer instructions, tests, and a handler that responds to the Docker v2 GET /v2/ API endpoint.
fixes #2
You can also use jsonify
If you want, you can set version in fegistry/__init__.py and use this to pull the version out of that file. Then you can use that version in the docs as well, and anywhere else you want.
fegistry/__init__.py
Looks good to me.
@jcline whoah that comment just took the views.py (which is currently the entire project) from 11 lines of code to 7 lines. You just eliminated 36% of this project's entire codebase in a single comment!
rebased
I added __version__ to the __init__.py, but I was able to just have the setup.py import the version rather than using the regex. The downside is that it depends on the setup.py being in the current working directory, but I'm OK with that, at least for now. We could probably do it facier later if we want it to work from arbitrary working directories.
__version__
__init__.py
Pull-Request has been merged by bowlofeggs
This commit creates all the boilerplate code to make a new Flask
app, a Vagrant development environment, developer instructions,
tests, and a handler that responds to the Docker v2 GET /v2/ API
endpoint.
fixes #2