running multiple django/bottle instances

Discussion in 'Python' started by Andrea Crotti, Jan 3, 2013.

  1. I'm working on a quite complex web app that uses django and bottle
    (bottle for the API which is also restful).

    Before I came they started to use a staging server to be able to try out
    things properly before they get published, but now we would like to have
    the possibility to see multiple branches at a time.

    First we thought about multiple servers, but actually since bottle and
    django can be made to run on different ports, I thought why not running
    everything on one server on different ports?

    We also use elasticsearch and couchdb for the data, but these two
    don't change that much and can just be a single instance.

    So what would be really great could be

    staging_server/branch_x
    staging_server/branch_y

    and something keeps track of all the various branches tracked, and run
    or keeps running bottle/django on different ports for the different
    branches.

    Is there something in the wonderful python world which I could bend to
    my needs?

    I'll probably have to script something myself anyway, but any
    suggestions is welcome, since I don't have much experience with web stuff..
     
    Andrea Crotti, Jan 3, 2013
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Henry
    Replies:
    24
    Views:
    1,352
    alex23
    May 30, 2008
  2. Chao
    Replies:
    1
    Views:
    499
    Alf P. Steinbach
    Nov 18, 2009
  3. John Posner

    Question on Django and Django Book

    John Posner, Nov 13, 2010, in forum: Python
    Replies:
    0
    Views:
    487
    John Posner
    Nov 13, 2010
  4. Craig Stinwau

    Encryption bottle neck

    Craig Stinwau, Feb 2, 2004, in forum: ASP General
    Replies:
    0
    Views:
    234
    Craig Stinwau
    Feb 2, 2004
  5. Replies:
    0
    Views:
    304
  6. eGenix Team: M.-A. Lemburg
    Replies:
    0
    Views:
    354
    eGenix Team: M.-A. Lemburg
    Jun 18, 2013
  7. Gary Roach
    Replies:
    0
    Views:
    293
    Gary Roach
    Jan 2, 2014
  8. Alec Taylor
    Replies:
    1
    Views:
    127
    donarb
    Feb 28, 2014
Loading...