Server infrastructure for a web application. Includes free toy web app.
JavaScript Python HTML CSS Shell Nginx PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
celery
client
conf
lib
live
log
monet
nginx
screenshots
script
servlet
upstart
.gitignore
CONVENTIONS
MANIFEST.in
README
client.py
fabfile.py
setup.py
static

README

                                                        
                                                        
        ___       ___                                   
        `MMb     dMM'                                   
         MMM.   ,PMM                              /     
         M`Mb   d'MM   _____  ___  __     ____   /M     
         M YM. ,P MM  6MMMMMb `MM 6MMb   6MMMMb /MMMMM  
         M `Mb d' MM 6M'   `Mb MMM9 `Mb 6M'  `Mb MM     
         M  YM.P  MM MM     MM MM'   MM MM    MM MM     
         M  `Mb'  MM MM     MM MM    MM MMMMMMMM MM     
         M   YP   MM MM     MM MM    MM MM       MM     
         M   `'   MM YM.   ,M9 MM    MM YM    d9 YM.  , 
        _M_      _MM_ YMMMMM9 _MM_  _MM_ YMMMM9   YMMM9 
                                                        

        ==========================================
        = Configure your development environment =
        ==========================================

    ./script/dev.(ubuntu|osx)
    . env/bin/activate
 
            ================================
            = Running a local debug server =
            ================================

    html client server runs on localhost:5000
    events are passed on localhost:6000
    websockets server runs on localhost:7000

    . env/bin/activate
    mongod
    ./script/celery
    ./script/live
    python client.py

                    ==================
                    = root directory =
                    ==================

    client/
        Client flask application; implements public API
        + html views.

    conf/
        Configuration files for various deployments.

    lib/
        Custom web framework built on top of flask.

    log/
        Local deployments log here

    nginx/
        nginx configuration scripts, temporary certs etc.

    screenshots/
        documentation of progress!

    script/
        deployment and development helper scripts

    servlet/
        gunicorn service launcher scripts

    upstart/
        upstart scripts for starting, managing and monitoring services.

    client.py
        launches a local debug server on 127.0.0.1:5000

    fabfile.py
        specification for fabric remote deployments 'bootstrap', 'pack',
        'deploy', 'rebase', 'reconfig' etc.

    MANIFEST.in
        listing of static files to be included in a deployable python egg

    setup.py
        specification for packing the source into a python egg