Skip to content

Commit

Permalink
Add webserver to g-d-c
Browse files Browse the repository at this point in the history
This patch adds a small webserver based on Bottle to serve all
the generated URLs as a list of links.

If you want to add a new dashboard, add the file to the dashboards
folder and then refresh http://localhost:8080
  • Loading branch information
macdomat committed Jun 16, 2014
1 parent 979a26f commit 504bb0f
Show file tree
Hide file tree
Showing 4 changed files with 3,662 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*.pyc

2 comments on commit 504bb0f

@gfidente
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a great idea! How about we return a JSON (sort of REST api) and save instead the .html in a file? By doing so we could either serve the html via static httpd (refreshing the page as needed, maybe after an jenkins job) OR host the JSON service so that it returns the updated long link as requested.

@proffalken
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

647d06d provides the JSON but does not write the HTML out.

Please sign in to comment.