/*********************
Author: Keith Smith via PLUG-discuss
Date: 2023-01-25 08:30 -700
To: Main PLUG discussion list
CC: techlists
Subject: Re: TDD w/ Python, ch 9
Hi Trent,
First question is what is in your heart? Is the path you are following
where you want to go? Do not read anything into my question. It is all
about you, and what you want to do.
I would suggest Bluehost and get as many months as you may need. I know
they have a discount for new customers and I think you have to buy a
year or more to get the discount - worth investigating. I think they
use cPanel, which may or may not be of use to you.
Make sure you have shell access to your shared hosting server.
****************************/
I decided to go with DreamHost, as I had a good experience with them
before. I got chapter 9 working on Apache on a shared server (the
default). Unfortunately, chapter 10 is implement on NGINX, and DreamHost
does not provide NGINX hosting at the lower service tiers. I have no
current or likely use for NGINX except for the tutorial, so more money for
more service is not happening.
/*****************************************************
If you are not going to keep the website you might consider a hypervisor
instead of shared hosting. Look at VirtualBox and Proxmox. By using a
virtualization software you can build your own server (good for learning
and resume) and save a few bucks. It will take some time and there is a
learning curve.
I recently configured Proxmox on a old piece hardware and am glad I did.
Keith
****************************************/
I want to do this ^^^
I want to set up a development environment which mimics live development
and production environments with hypervisor hosts and guests. I'm
currently using Mint on VMWare Workstation Pro on Windows 11 as my
development environment. The problem is my 4 core, 16 gig Dell laptop is
lacking in horsepower. (Compiling a Scala3 Hello World program on the
Mint guest is slow. Compiling two Scala3 programs at the same time freezes
the Mint guest.)
I don't want to burden the group with providing a detailed handbook or
tutorial on how to set up a test NGINX-Django test system on a modest
laptop, but what are the big parts I'm going to need, some integration
gotchas, and is there a name for this variety of stand-alone
web-development test environment? (And is there a Linux distro which
provides it in a box? Maybe that would make a good PLUG FOSS project ...
Linux Web-Dev Environment in a Box. LWDE-IAB. maybe not.)
I get a NEW HP lappy Friday. I could convert this laptop to all Linux All
the Time once the new laptop is stable. I'm gonna see if I can get some
memory added to the Dell tonight
Trent
Also Keith, are you going to do the presentation some time?
On 2023-01-25 07:53, trent shipley via PLUG-discuss wrote:
> I'm on the bench with my employer asd studying test driven development
> using Harry Precival's Test-Driven Development with Python. Percival
> uses a simple web site on Django as the practice or example project.
> In chapter 9 the baby website gets put on a real hosted web server.
> It needs to be an olde fashioned service where you have the freedom to
> do a lot of admin work. That is, you need to have enough rope to hang
> yourself. I also need a domain name and two sub-domain names. Price
> is important. I will probably finish the tutorial book and throw the
> site away instead of keeping it as a personal website.
>
> Has anyone got any suggestions for where to get a domain name and a
> hosting service?
>
> Trent
>
> Choosing Where to Host Our Site
>
> There are loads of different solutions out there these days, but they
> broadly fall into two camps:
>
> * Running your own (possibly virtual) server
> * Using a Platform-As-A-Service (PaaS) offering like Heroku,
> OpenShift, or PythonAnywhere
>
> Particularly for small sites, a PaaS offers a lot of advantages, and I
> would definitely recommend looking into them. We’re not going to use
> a PaaS in this book however, for several reasons. Firstly, I have a
> conflict of interest, in that I think PythonAnywhere is the best, but
> then again I would say that because I work there. Secondly, all the
> PaaS offerings are quite different, and the procedures to deploy to
> each vary a lot — learning about one doesn’t necessarily tell you
> about the others. Any one of them might radically change their process
> or business model by the time you get to read this book.
>
> Instead, we’ll learn just a tiny bit of good old-fashioned server
> admin, including SSH and web server config. They’re unlikely to ever
> go away, and knowing a bit about them will get you some respect from
> all the grizzled dinosaurs out there.
>
> What I have done is to try to set up a server in such a way that’s a
> bit like the environment you get from a PaaS, so you should be able to
> apply the lessons
>
> Percival, Harry. Test-Driven Development with Python (pp. 263-264).
> O'Reilly Media. Kindle Edition. (2017)
>
> Or free at: https://www.obeythetestinggoat.com/pages/book.html
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list:
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
---------------------------------------------------
PLUG-discuss mailing list:
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss