Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36069

running multiple django/bottle instances

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andrea.crotti.0@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.051
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'api': 0.09; 'python': 0.09; 'branches': 0.09; 'instance.': 0.09; 'django': 0.10; 'properly': 0.15; 'to:name:python-list': 0.15; 'bend': 0.16; 'subject:django': 0.16; 'app': 0.19; 'script': 0.24; 'header:User- Agent:1': 0.26; 'possibility': 0.27; 'subject:/': 0.28; 'run': 0.28; 'probably': 0.29; "i'm": 0.29; 'running': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'data,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'message-id:@gmail.com': 0.36; "i'll": 0.36; 'keeps': 0.37; 'two': 0.37; 'uses': 0.37; 'why': 0.37; 'quite': 0.37; 'received:209': 0.37; 'things': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'first': 0.61; 'different': 0.63; 'world': 0.63; 'great': 0.64; 'bottle': 0.84; 'subject:running': 0.84; 'ports': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=kMY6TQTBJTsbFA+SA/MamoZ+RzGQZb4BO6wH2a4dGxY=; b=nV2sJGAjXMgS26hO1d/poiH0N2iC8TZbgCN8F29R5C8FtcSnFwRKoXMQbXVFGyd9xS JTQHBYXQ6YtKq0keemq3GYqDLGQtmIRpulu2fG+OHTC+44VM/2CaKEq9pHpFLff73W+4 UQVwLw+pqKDj4IOq62Fuqb60D819bCbsfh4m1ml+Nr9RpB38S40OoVMW9brxzat/1Yi3 2u3NAaOSAlpVfPgJkgqdJej12n8t+mSv0gWR6yz7nkVJklEQFlCLoD7GhYgtPheXBBSZ n8pa4vJT37/7ArbsQkyTqRG7RggLkaPTg9UBqVcy4umwLSBqBfbu4IwYVtXP6Mt34IdX 51fA==
X-Received by 10.204.8.18 with SMTP id f18mr25039187bkf.82.1357231001143; Thu, 03 Jan 2013 08:36:41 -0800 (PST)
Date Thu, 03 Jan 2013 16:35:10 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121012 Thunderbird/16.0.1
MIME-Version 1.0
To python-list <python-list@python.org>
Subject running multiple django/bottle instances
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.46.1357231349.2939.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357231349 news.xs4all.nl 6901 [2001:888:2000:d::a6]:50878
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36069

Show key headers only | View raw


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..

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

running multiple django/bottle instances Andrea Crotti <andrea.crotti.0@gmail.com> - 2013-01-03 16:35 +0000

csiph-web