Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6628343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:07:12+00:00 2026-05-25T22:07:12+00:00

In our project we are using some django reusable apps, we are considering how

  • 0

In our project we are using some django reusable apps, we are considering how to make the continuous and automatic deployment easy and painless.

We have 2 options:

option#1: use “pip install xxx” to install all dependencies reusable apps. Write a script to install and check the dependencies.

option#2: make a copy of all used reusable apps under our own directory, so we basically will deploy everything in our project directory.

both options have its pros and cons, I am wondering if you can share your the best practice of doing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:07:13+00:00Added an answer on May 25, 2026 at 10:07 pm

    You can create a file of dependencies with pip very easily which will mean that the correct versions of each app will be maintained between servers

    # Save dependancies to a file
    pip freeze > requirement_file.txt
    

    creates a file something like:

    django==1.3
    django-tagging
    markdown
    ...
    

    which can be later used to reinstall the listed apps on a different server

    # Install all dependencies in the file
    pip install -r requirement_file.txt
    

    This is a nice and simple approach. You can get more complicated with the likes of zc.buildout

    http://pypi.python.org/pypi/zc.buildout

    which helps manage packages (python and non-python) via scripts (you create ‘recipes’ containing the details of the packages you need installed)

    If you need broader control over server installs you could use ‘puppet’ or ‘chef’

    http://projects.puppetlabs.com/projects/1/wiki/Big_Picture
    http://wiki.opscode.com/display/chef/Chef+Server

    which are aimed at automating and deploying more than just dependencies, but entire servers

    I haven’t needed to use more then simple pip requirements files, but the other options are great if you need more.

    EDIT

    Keeping your own version of the apps in your project root/python path can become cumbersome and difficult to track, I’d suggest using a pip requirement file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are using jQuery in our project. We have numerous custom javascript files in
We are currently using unit tests to test our project. We have the majority
We're using some C library in our Java project. Several years ago some other
We are using Log4j in our project for logging. I want to log some
In our project now we using log4cxx, but those library don't develope some years,
In our project we are using ValidationEngine, and we don't have the ability to
We have been using Spring Remoting in our project for sometime. It is used
We have some files in our project that can't be merged and hence the
We have some XSDs in our project that define types that use attributes, as
We have just started using requirejs in our project and we are loving it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.