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 8127015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:22:06+00:00 2026-06-06T07:22:06+00:00

Is not efficient :). I’m trying to learn django by building a simple app.

  • 0

Is not efficient :).

I’m trying to learn django by building a simple app. I bought a hosting plan on webfaction, set up github account and a putty on my Windows machine. I’m writing the “code” on my Windows, pushing it to github repo, then connecting via putty to my webfaction account to pull from github.

This is extremely tedious and boring process and I can’t help but wonder that I’m doing something wrong. Even fixing a simple typo takes a lot of time. Are developers writing everything server-side using vim? This sound even less encouraging. Can I do something to improve my workflow? How it’s done by professionals?

  • 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-06T07:22:10+00:00Added an answer on June 6, 2026 at 7:22 am

    You need to stop wasting your own time, which you are if you are editing code on the server. There are many reasons why you shouldn’t deploy code that way the most important ones is that you’ll waste time and also importantly is that you’ll break things while users are looking at the site.

    Setup a development server locally, this is why the django manage.py runserver exists. If you for some reason can’t run it on windows, then install a server in virtualbox, mount the folder in windows where your code is and run it off that (this is what we do for our designers although we have a lot of dependencies).

    There are IDE’s out there that enables you to run Django via a GUI that you might find more comfortable, I use PyCharm and I hear good things about eclipse.

    You’d save time if you learned how fabric worked so you can automate your deploy process. I am unsure how well fabric works on windows, but I’m sure you can use cygwin or similar to get it working.

    A fairly basic example would be this one:

    from fabric.api import *
    
    env.hosts = ['ubuntu@example.org']
    
    def deploy():
        pid_file = "~/myproject/process.pid"
        with cd('~/myproject/'):
            run('git pull')
            run('src/city_nomads/manage.py collectstatic --noinput')
            # If the process isn't up we don't want the thing to exit.
            with settings(warn_only=True):
                run("cat {} | xargs kill -TERM".format(pid_file))
            run("src/myproject/manage.py runfcgi "
                    "method=threaded "
                    "host=127.0.0.1 "
                    "port=8000 "
                    "pidfile={} "
                    "--settings=myproject.settings_release".format(pid_file))
    

    It’ll SSH into my server, pull the source, collectstatic, kill the process if it’s there and then run django as fastcgi. I’m assuming you have nginx or apache set up to connect to Django on port 8000.

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

Sidebar

Related Questions

I'm trying to find a reasonably efficient way of getting any single integer not
I feel like this is not a very efficient way of using linq. I
I am looking for an efficient eigensolver ( language not important, although I would
Normally (ie. not concurrently), putAll() cannot be more efficient than using lot's of calls
Is it bad practice/not efficient to draw UITableViewCell in IB vs drawing in code?
I got the impression from other programmers that GEO (wgs84) coordinates are not efficient
As is mentioned in the doc for google app engine, it does not support
I heard using sqlite for long data transition from database is not efficient so
I'm trying to implement an efficient hash table where collisions are solved using linear
I have been reading about how read.table is not efficient for large data files.

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.