deployment

Is virtualenv recommended for django production server?

Is virtualenv recommended for django production server? Question: I have always been using virtualenv for testing my app in localhost since I have isolated environment and can safely test new release of packages. Now It comes the time when I have to deploy my app to a production server. I am wondering if I should …

Total answers: 6

How to ForwardAgent yes using fabric?

How to ForwardAgent yes using fabric? Question: I am successfully run()ning commands on remote server with my private key pair. However, I’d like to do git clone ssh://private/repo on remote server using my local key (or using local ssh agent I’m in). How to do it using fabric? Asked By: Almad || Source Answers: The …

Total answers: 2

What is the Python equivalent of Tomcat?

What is the Python equivalent of Tomcat? Question: This question likely betrays a misconception, but I’m curious what the “Tomcat” of the Python world is. All of my web programming experience is in Java (or Groovy) so I think in Java terms. And when I think of making a basic web-app, I think of writing …

Total answers: 4

How do I manage third-party Python libraries with Google App Engine? (virtualenv? pip?)

How do I manage third-party Python libraries with Google App Engine? (virtualenv? pip?) Question: What’s the best strategy for managing third-party Python libraries with Google App Engine? Say I want to use Flask, a webapp framework. A blog entry says to do this, which doesn’t seem right: $ cd /tmp/ $ wget http://pypi.python.org/packages/source/F/Flask/Flask-0.6.1.tar.gz $ tar …

Total answers: 7

How to set up a staging environment on Google App Engine

How to set up a staging environment on Google App Engine Question: Having properly configured a Development server and a Production server, I would like to set up a Staging environment on Google App Engine useful to test new developed versions live before deploying them to production. I know two different approaches: A. The first …

Total answers: 7

Maven equivalent for python

Maven equivalent for python Question: I’m a java developer/python beginner, and I’m missing my maven features, particularly dependency management and build automation (I mean you don’t build, but how to create a package for deployment?) Is there a python equivalent to achieve these features? Note: I use python 2.x Thanks. Asked By: Enno Shioji || …

Total answers: 5

How do you use pip, virtualenv and Fabric to handle deployment?

How do you use pip, virtualenv and Fabric to handle deployment? Question: What are your settings, your tricks, and above all, your workflow? These tools are great but there are still no best practices attached to their usage, so I don’t know what is the most efficient way to use them. Do you use pip …

Total answers: 2

Custom distutils commands

Custom distutils commands Question: I have a library called “example” that I’m installing into my global site-packages directory. However, I’d like to be able to install two versions, one for production and one for testing (I have a web application and other things that are versioned this way). Is there a way to specify, say …

Total answers: 4

How to manage local vs production settings in Django?

How to manage local vs production settings in Django? Question: What is the recommended way of handling settings for local development and the production server? Some of them (like constants, etc) can be changed/accessed in both, but some of them (like paths to static files) need to remain different, and hence should not be overwritten …

Total answers: 22

Atlassian Bamboo with Django & Python – Possible?

Atlassian Bamboo with Django & Python – Possible? Question: At my company, we currently use Atlassian Bamboo for our continuous integration tool. We currently use Java for all of our projects, so it works great. However, we are considering using a Django + Python for one of our new applications. I was wondering if it …

Total answers: 4