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


Groups > comp.lang.python > #105422

Re: creating multiple python Django projects in Windows environment

X-Received by 10.66.146.10 with SMTP id sy10mr19894508pab.24.1458606244041; Mon, 21 Mar 2016 17:24:04 -0700 (PDT)
X-Received by 10.50.30.42 with SMTP id p10mr153171igh.3.1458606243993; Mon, 21 Mar 2016 17:24:03 -0700 (PDT)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!nt3no3685495igb.0!news-out.google.com!pn7ni16480igb.0!nntp.google.com!av4no1617671igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 21 Mar 2016 17:24:03 -0700 (PDT)
In-Reply-To <mailman.470.1458601662.12893.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=184.149.46.217; posting-account=YzyhDAoAAABPfahlGTaikKyiuALBrp-x
NNTP-Posting-Host 184.149.46.217
References <414504a3-4439-413d-97f4-852563770003@googlegroups.com> <mailman.378.1458371803.12893.python-list@python.org> <94e713c3-583e-4537-8eb6-19fe1611e54f@googlegroups.com> <mailman.470.1458601662.12893.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <bf8ffac6-b06e-4923-9e5a-c770d9bad753@googlegroups.com> (permalink)
Subject Re: creating multiple python Django projects in Windows environment
From ivan77 <ivanjankovic777777@gmail.com>
Injection-Date Tue, 22 Mar 2016 00:24:04 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:105422

Show key headers only | View raw


> 
> Hmm, that depends how you want to structure things. If the different
> applications are conceptually different, you can keep them completely
> separate by making them separate Django projects; that would give you
> the flexibility to put them onto independent URLs, post the source
> code to one of them on GitHub and the source to the other on
> SourceForge, etc, etc, etc. Alternatively, you can simply have a
> single Django application, and then namespace everything using
> directories, so people would access http://blah.blah/app1/whatever and
> http://blah.blah/app2/whatever to choose what they're doing.
> 
> > Would I look into using vagrant and virtualbox to create an environment that would then be loaded onto my linux (home development) server and my windows (office) production server to ensure they are the same?
> >
> 
> You shouldn't need to, but I would strongly recommend having a
> "Staging" server which is as similar as possible to your production
> server. It's all too easy to accidentally do something in a
> Windows-specific or Linux-specific way if you don't test. (Note that
> "Staging" could be actually on the same hardware as "Production", if
> you don't have spare funds for a duplicate. Keep your modules separate
> using venv, and access them on different URLs; just have some place
> where you can quickly check your code under a production-like
> environment prior to actually bringing everything down due to a
> one-character bug.)
> 
> ChrisA

Thanks.  I like the idea of the separate URLs.  That way, I guess I could use another framework (e.g. flask), or whatever else if the need ever arose.  Also, I could use a very simple front page with links to all of the projects.  

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


Thread

creating multiple python Django projects in Windows environment jogaserbia <ivanjankovic@live.ca> - 2016-03-18 12:04 -0700
  Re: creating multiple python Django projects in Windows environment jogaserbia <ivanjankovic777777@gmail.com> - 2016-03-21 14:02 -0700
    Re: creating multiple python Django projects in Windows environment Chris Angelico <rosuav@gmail.com> - 2016-03-22 10:07 +1100
      Re: creating multiple python Django projects in Windows environment ivan77 <ivanjankovic777777@gmail.com> - 2016-03-21 17:24 -0700

csiph-web