Giter Site home page Giter Site logo

deis's Introduction

Danabox

Danabox is a Heroku-inspired hosting platform. The difference being that each app is funded by donations in the style of Wikipedia. Because of its donation-based funding model only public Github repositories can be hosted on it.

Danabox Homepage

Danabox is built on Deis.

Getting Started

  • Install the Danabox client using pip:
$ pip install danabox
  • Go to the local version of your Github repository:
$ cd <my-application-repo>
$ danabox create
Creating application... done, created opdemand-example--ruby--sinatra
  • Use danabox deploy to deploy your application. NB. This step will eventually be added to a git push hook
$ danabox deploy
From https://github.com/opdemand/example-ruby-sinatra
 * branch            master     -> FETCH_HEAD
Already up-to-date.
       Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       Using rack (1.5.2)
       Using rack-protection (1.5.0)
       Using tilt (1.3.6)
       Using sinatra (1.4.2)
       Using bundler (1.3.2)
       Your bundle is complete! It was installed into ./vendor/bundle
       Bundle completed (0.34s)
       Cleaning up the bundler cache.
-----> Discovering process types
       Procfile declares types -> web
       Default process types for Ruby -> rake, console, web

-----> Compiled slug size: 11.5 MB
       Launching... done, v4

-----> opdemand-example--ruby--sinatra deployed to Danabox
       http://opdemand-example--ruby--sinatra.danabox.es

-----> Donation page available at:
       http://danabox.io/app/opdemand-example--ruby--sinatra

       To learn more, use `deis help` or visit http://danabox.io

$ curl -s http://opdemand-example--ruby--sinatra.danabox.es
Powered by Deis!

License

Copyright 2013, Danabox

Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

deis's People

Contributors

mboersma avatar tombh avatar bengrunfeld avatar scottstamp avatar kumavis avatar

Stargazers

Dennis Ideler avatar Nicholas Roberts avatar Sebastian Schubotz avatar

Watchers

 avatar Gabe Monroy avatar Nicholas Roberts avatar James Cloos avatar

deis's Issues

Make app logs viewable by anyone

Public logs will help counter any malicious usage of public goodwill donations to an app.

At first logs need only be viewable from the command line.

Disable architecture commands in client

Disable commands that manage the layers, formations, flavours and nodes.

Also make sure that only staff members can create formations and that that therefore also means that other users, as -non-owners of a formation, cannot create nodes, layers, etc.

Web frontend to give each app a usage and donate page

A web frontend that enables the general public to see how much resource any given application is using and allow them to donate to the usage costs of that page.

First beta launch to simply have a button that donates a free hour by clicking. If Crowdbox is successful people will be able to donate actual money.

Would be nice to have some fancy graphs and extrapolations of usage versus current donation averages.

Count app's total process ticks

Provide means of measuring how much resources an app has used. This is used to approximate an app's cost.

Explore using an incremental field in the API DB that is ticked up by every app's process once a minute.

Enable client-based deploys, disable 'git push' deploys

Only publicly scrutinisable Github repositories are allowed to be hosted on Crowdbox. Therefore deploys are done with crowdbox deploy rather than git push.

  • Have the client trigger a server-side script that does git pull on the github repo with same URI as the 'origin remote' from which the command crowdbox deploy was issued.
  • Disable Gitosis.
  • Prevent auto adding of new deis remote when creating a new application.

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.