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

  • Home
  • SEARCH
  • 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 9270703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:26:08+00:00 2026-06-18T15:26:08+00:00

I decided to move from PHP and start using Django. I have successfully installed

  • 0

I decided to move from PHP and start using Django. I have successfully installed Python and Django on my web server. How can I just code my Python/Django program, throw it to the server over FTP, and run it without the need to SSH to the server and restart the django server every time?

What is the method to run Django codes exactly the same way we run PHP code (having the server running all the time if possible)?

My server runs CentOS 5.8 and Apache.

Edit:
Alright I really recommend this tutorial for who ever want to setup dJango on a web server , my recommendation after reading a lot of posts. Using dJango on Nginx web server is the most powerful performance you could get

https://code.djangoproject.com/wiki/DjangoAndNginx

  • 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-06-18T15:26:09+00:00Added an answer on June 18, 2026 at 3:26 pm

    You can’t magically make Django run like PHP. Please look at the deployment documentation, as it’s some of the best around.

    You’ll see step by step instructions for apache.

    As for not having to SSH every time you load new code, the best tool for this job is fabric.

    http://docs.fabfile.org/en/1.5/

    Fabric is an amazing tool that is extremely easy to install and configure, which lets you run commands on your remote machine from your local machine.

    For example, I simply type fab production deploy on my local machine to…

    • push git changes
    • pull git changes on remote
    • run pip install
    • migrate database
    • run collectstatic
    • finally “restart” apache – touching wsgi file.

    I just want to stress that fabric is not like those deployment build scripts which are complicated. Fabric will literally take you 10 minutes to set up.

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

Sidebar

Related Questions

I have decided to move a project from PHP to Python and despite hours
Having used PHP GD for some time I have decided to move to Imagemagick.
I have decided to move my C# daemon application (using dotConnect as ADO.NET provider)
I have made the move from TextMate to VIM. I can not use macvim,
I've been prepping for a potential move away from PHP and decided to use
I'm using PHP 5.3 with MSSQL-Server 2005 and MSSQL-Server (PDO) driver from MS. I
I have a large amount of data to move using two PHP scripts: one
I decided to have a go at PDO. The function below should move a
I need to handle large XML files, and I decided to move from DOM
I'm currently studying asp.net mvc and I just started, I decided to move away

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.