Re: TDD w/ Python, ch 9

2023-01-26 Thread T Zack Crawford via PLUG-discuss
Forgot to mention, but maybe consider domain types that are not dot-com. XYZ is 
generally pretty cheap but you could shop around. I think you could do $5/year. 
Ramnode used to have a cheap vps option of $3/y. If you go the VPS route, Luke 
Smith on youtube has some informative and expeditious tutorial videos.

Jan 26, 2023 11:22:49 T Zack Crawford via PLUG-discuss 
:

> I have my site hosted by a ramnode vps and reserve my domain with namecheap. 
> I haven't had any complaints on either but I won't go out and endorse them. 
> If you're only worried about the python development end, you might consider 
> heroku for non-formal or educational project web application hosting. 
> Personally I found setting up nginx and reverse proxies kind of fun and 
> informative, but maybe that's an unnecessary time sink for your use case.
> 
> Jan 25, 2023 07:53:33 trent shipley via PLUG-discuss 
> :
> 
>> 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


Re: TDD w/ Python, ch 9

2023-01-26 Thread T Zack Crawford via PLUG-discuss
I have my site hosted by a ramnode vps and reserve my domain with namecheap. I 
haven't had any complaints on either but I won't go out and endorse them. If 
you're only worried about the python development end, you might consider heroku 
for non-formal or educational project web application hosting. Personally I 
found setting up nginx and reverse proxies kind of fun and informative, but 
maybe that's an unnecessary time sink for your use case.

Jan 25, 2023 07:53:33 trent shipley via PLUG-discuss 
:

> 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


Re: TDD w/ Python, ch 9

2023-01-26 Thread Keith Smith via PLUG-discuss
Maybe 4 months ago I spun up a minimum droplet of on vcpu and 1Gb of RAM 
and used it to create an Apache we server (LAMP).  It kept crashing.  I 
upped the RAM to 2Gb and all went well.  I was doing some light 
PHP/MySql testing.



On 2023-01-26 08:46, Thomas Scott via PLUG-discuss wrote:

https://m.do.co/c/6f0c38f7ef53 -  referral code for DigitalOcean -
good for $200/for 60 days. After that, the $4/mo droplet (VPS) is good
for most simple development, and can scale up or down as needed (as
long as you don't increase the disk size). Anyone feel free to use it!

Disclaimer: I've worked on their backbone team since June of last
year, I do not get paid for referrals :)

As far as domain names, I go where it's cheapest for my throwaways,
used google domains for a bit, but I think that's defunct (shocker).

Best Regards,
-Thomas Scott

On Thu, Jan 26, 2023 at 8:50 AM Keith Smith via PLUG-discuss
 wrote:


I have not heard of and unusual blacklisting of Bluehost.

On 2023-01-25 09:21, trent shipley via PLUG-discuss wrote:

On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss
 wrote:


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 wanted to be an anthropologist (almost got a PhD), but

programming

is the next coolest thing, and until the AIs take over there are a

lot

more jobs and it pays better--even in a recession.   :)


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.


Aren't Bluehost hosted sites often blacklisted?  I need to get to

this

from my personal PC, plugged into my employer's internet.


Make sure you have shell access to your shared hosting server.

I would stay away from GoDaddy for the only reason of price.  I
would
encourage you look at them and see how they stack up.

I used to buy my domains at GoDaddy until the price kept

increasing.


Now I am with NameSilo.

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.


So basically set up a guest as a server and then connect to the

guest

like it's a server on the public internet?  My Mint development
environment is a guest on Windows.   I am an 'occasional' Linux

and

FOSS user.

Also, I like programming and software engineering and I'm always

happy

when someone does the admin for me and tells me how they want the

app

to implement security.  (That is admin is moderately fun, and

thinking

about security makes me more anxious and paranoid in general,

which is

unpleasant--so I'm even more happy to outsource as much of that as

I

can get away with.)

(My general observation as an almost qualified anthropologist is

that

security professionals, whether prison guards, police, or
cyber-security are more anxious and suspicious -- even paranoid

than

the population at large.  I suspect they start a little bit more
anxious and suspicious [and it turns them on], then thinking about

and

coping with all the stuff bad actors can do to you all day long

makes

it ever so much more so.)


I recently configured Proxmox on a old piece hardware and am glad

I

did.

Keith

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 

Re: TDD w/ Python, ch 9

2023-01-26 Thread Thomas Scott via PLUG-discuss
Correction: My account *does* get a $25 credit if you end up spending $25
over the lifetime of your account. Currently, that's a zero sum for me as I
don't pay for my resources on DO.
Best Regards,
-Thomas Scott


On Thu, Jan 26, 2023 at 10:46 AM Thomas Scott 
wrote:

> https://m.do.co/c/6f0c38f7ef53 -  referral code for DigitalOcean - good
> for $200/for 60 days. After that, the $4/mo droplet (VPS) is good for most
> simple development, and can scale up or down as needed (as long as you
> don't increase the disk size). Anyone feel free to use it!
>
> Disclaimer: I've worked on their backbone team since June of last year, I
> do not get paid for referrals :)
>
> As far as domain names, I go where it's cheapest for my throwaways, used
> google domains for a bit, but I think that's defunct (shocker).
>
> Best Regards,
> -Thomas Scott
>
>
> On Thu, Jan 26, 2023 at 8:50 AM Keith Smith via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> I have not heard of and unusual blacklisting of Bluehost.
>>
>>
>>
>> On 2023-01-25 09:21, trent shipley via PLUG-discuss wrote:
>> > On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss
>> >  wrote:
>> >
>> >> 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 wanted to be an anthropologist (almost got a PhD), but programming
>> > is the next coolest thing, and until the AIs take over there are a lot
>> > more jobs and it pays better--even in a recession.   :)
>> >
>> >> 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.
>> >
>> > Aren't Bluehost hosted sites often blacklisted?  I need to get to this
>> > from my personal PC, plugged into my employer's internet.
>> >
>> >> Make sure you have shell access to your shared hosting server.
>> >>
>> >> I would stay away from GoDaddy for the only reason of price.  I
>> >> would
>> >> encourage you look at them and see how they stack up.
>> >>
>> >> I used to buy my domains at GoDaddy until the price kept increasing.
>> >>
>> >> Now I am with NameSilo.
>> >>
>> >> 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.
>> >
>> > So basically set up a guest as a server and then connect to the guest
>> > like it's a server on the public internet?  My Mint development
>> > environment is a guest on Windows.   I am an 'occasional' Linux and
>> > FOSS user.
>> >
>> > Also, I like programming and software engineering and I'm always happy
>> > when someone does the admin for me and tells me how they want the app
>> > to implement security.  (That is admin is moderately fun, and thinking
>> > about security makes me more anxious and paranoid in general, which is
>> > unpleasant--so I'm even more happy to outsource as much of that as I
>> > can get away with.)
>> >
>> > (My general observation as an almost qualified anthropologist is that
>> > security professionals, whether prison guards, police, or
>> > cyber-security are more anxious and suspicious -- even paranoid than
>> > the population at large.  I suspect they start a little bit more
>> > anxious and suspicious [and it turns them on], then thinking about and
>> > coping with all the stuff bad actors can do to you all day long makes
>> > it ever so much more so.)
>> >
>> >> I recently configured Proxmox on a old piece hardware and am glad I
>> >> did.
>> >>
>> >> Keith
>> >>
>> >> 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 

Re: TDD w/ Python, ch 9

2023-01-26 Thread trent shipley via PLUG-discuss
Google Domain Names is still there with good, but not the best prices.  I
don't understand why some kinds of domain names cost more.  Are some just
scarce?

Trent

On Thu, Jan 26, 2023 at 8:47 AM Thomas Scott via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> https://m.do.co/c/6f0c38f7ef53 -  referral code for DigitalOcean - good
> for $200/for 60 days. After that, the $4/mo droplet (VPS) is good for most
> simple development, and can scale up or down as needed (as long as you
> don't increase the disk size). Anyone feel free to use it!
>
> Disclaimer: I've worked on their backbone team since June of last year, I
> do not get paid for referrals :)
>
> As far as domain names, I go where it's cheapest for my throwaways, used
> google domains for a bit, but I think that's defunct (shocker).
>
> Best Regards,
> -Thomas Scott
>
>
> On Thu, Jan 26, 2023 at 8:50 AM Keith Smith via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> I have not heard of and unusual blacklisting of Bluehost.
>>
>>
>>
>> On 2023-01-25 09:21, trent shipley via PLUG-discuss wrote:
>> > On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss
>> >  wrote:
>> >
>> >> 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 wanted to be an anthropologist (almost got a PhD), but programming
>> > is the next coolest thing, and until the AIs take over there are a lot
>> > more jobs and it pays better--even in a recession.   :)
>> >
>> >> 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.
>> >
>> > Aren't Bluehost hosted sites often blacklisted?  I need to get to this
>> > from my personal PC, plugged into my employer's internet.
>> >
>> >> Make sure you have shell access to your shared hosting server.
>> >>
>> >> I would stay away from GoDaddy for the only reason of price.  I
>> >> would
>> >> encourage you look at them and see how they stack up.
>> >>
>> >> I used to buy my domains at GoDaddy until the price kept increasing.
>> >>
>> >> Now I am with NameSilo.
>> >>
>> >> 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.
>> >
>> > So basically set up a guest as a server and then connect to the guest
>> > like it's a server on the public internet?  My Mint development
>> > environment is a guest on Windows.   I am an 'occasional' Linux and
>> > FOSS user.
>> >
>> > Also, I like programming and software engineering and I'm always happy
>> > when someone does the admin for me and tells me how they want the app
>> > to implement security.  (That is admin is moderately fun, and thinking
>> > about security makes me more anxious and paranoid in general, which is
>> > unpleasant--so I'm even more happy to outsource as much of that as I
>> > can get away with.)
>> >
>> > (My general observation as an almost qualified anthropologist is that
>> > security professionals, whether prison guards, police, or
>> > cyber-security are more anxious and suspicious -- even paranoid than
>> > the population at large.  I suspect they start a little bit more
>> > anxious and suspicious [and it turns them on], then thinking about and
>> > coping with all the stuff bad actors can do to you all day long makes
>> > it ever so much more so.)
>> >
>> >> I recently configured Proxmox on a old piece hardware and am glad I
>> >> did.
>> >>
>> >> Keith
>> >>
>> >> 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 

Re: TDD w/ Python, ch 9

2023-01-26 Thread Thomas Scott via PLUG-discuss
https://m.do.co/c/6f0c38f7ef53 -  referral code for DigitalOcean - good for
$200/for 60 days. After that, the $4/mo droplet (VPS) is good for most
simple development, and can scale up or down as needed (as long as you
don't increase the disk size). Anyone feel free to use it!

Disclaimer: I've worked on their backbone team since June of last year, I
do not get paid for referrals :)

As far as domain names, I go where it's cheapest for my throwaways, used
google domains for a bit, but I think that's defunct (shocker).

Best Regards,
-Thomas Scott


On Thu, Jan 26, 2023 at 8:50 AM Keith Smith via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> I have not heard of and unusual blacklisting of Bluehost.
>
>
>
> On 2023-01-25 09:21, trent shipley via PLUG-discuss wrote:
> > On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss
> >  wrote:
> >
> >> 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 wanted to be an anthropologist (almost got a PhD), but programming
> > is the next coolest thing, and until the AIs take over there are a lot
> > more jobs and it pays better--even in a recession.   :)
> >
> >> 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.
> >
> > Aren't Bluehost hosted sites often blacklisted?  I need to get to this
> > from my personal PC, plugged into my employer's internet.
> >
> >> Make sure you have shell access to your shared hosting server.
> >>
> >> I would stay away from GoDaddy for the only reason of price.  I
> >> would
> >> encourage you look at them and see how they stack up.
> >>
> >> I used to buy my domains at GoDaddy until the price kept increasing.
> >>
> >> Now I am with NameSilo.
> >>
> >> 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.
> >
> > So basically set up a guest as a server and then connect to the guest
> > like it's a server on the public internet?  My Mint development
> > environment is a guest on Windows.   I am an 'occasional' Linux and
> > FOSS user.
> >
> > Also, I like programming and software engineering and I'm always happy
> > when someone does the admin for me and tells me how they want the app
> > to implement security.  (That is admin is moderately fun, and thinking
> > about security makes me more anxious and paranoid in general, which is
> > unpleasant--so I'm even more happy to outsource as much of that as I
> > can get away with.)
> >
> > (My general observation as an almost qualified anthropologist is that
> > security professionals, whether prison guards, police, or
> > cyber-security are more anxious and suspicious -- even paranoid than
> > the population at large.  I suspect they start a little bit more
> > anxious and suspicious [and it turns them on], then thinking about and
> > coping with all the stuff bad actors can do to you all day long makes
> > it ever so much more so.)
> >
> >> I recently configured Proxmox on a old piece hardware and am glad I
> >> did.
> >>
> >> Keith
> >>
> >> 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. 

Re: TDD w/ Python, ch 9

2023-01-26 Thread Keith Smith via PLUG-discuss

I have not heard of and unusual blacklisting of Bluehost.



On 2023-01-25 09:21, trent shipley via PLUG-discuss wrote:

On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss
 wrote:


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 wanted to be an anthropologist (almost got a PhD), but programming
is the next coolest thing, and until the AIs take over there are a lot
more jobs and it pays better--even in a recession.   :)


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.


Aren't Bluehost hosted sites often blacklisted?  I need to get to this
from my personal PC, plugged into my employer's internet.


Make sure you have shell access to your shared hosting server.

I would stay away from GoDaddy for the only reason of price.  I
would
encourage you look at them and see how they stack up.

I used to buy my domains at GoDaddy until the price kept increasing.

Now I am with NameSilo.

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.


So basically set up a guest as a server and then connect to the guest
like it's a server on the public internet?  My Mint development
environment is a guest on Windows.   I am an 'occasional' Linux and
FOSS user.

Also, I like programming and software engineering and I'm always happy
when someone does the admin for me and tells me how they want the app
to implement security.  (That is admin is moderately fun, and thinking
about security makes me more anxious and paranoid in general, which is
unpleasant--so I'm even more happy to outsource as much of that as I
can get away with.)

(My general observation as an almost qualified anthropologist is that
security professionals, whether prison guards, police, or
cyber-security are more anxious and suspicious -- even paranoid than
the population at large.  I suspect they start a little bit more
anxious and suspicious [and it turns them on], then thinking about and
coping with all the stuff bad actors can do to you all day long makes
it ever so much more so.)


I recently configured Proxmox on a old piece hardware and am glad I
did.

Keith

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
---

Re: TDD w/ Python, ch 9

2023-01-25 Thread Stephen Partington via PLUG-discuss
Dreamhost might work for you. they have some advanced python options and
their dream compute option may be viable for you.

On Wed, Jan 25, 2023 at 9:53 AM trent shipley via PLUG-discuss <
plug-discuss@lists.phxlinux.org> 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
>


-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
---
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


Re: TDD w/ Python, ch 9

2023-01-25 Thread trent shipley via PLUG-discuss
On Wed, Jan 25, 2023 at 8:30 AM Keith Smith via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> 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 wanted to be an anthropologist (almost got a PhD), but programming is the
next coolest thing, and until the AIs take over there are a lot more jobs
and it pays better--even in a recession.   :)

>
> 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.
>
> Aren't Bluehost hosted sites often blacklisted?  I need to get to this
from my personal PC, plugged into my employer's internet.



> Make sure you have shell access to your shared hosting server.
>
> I would stay away from GoDaddy for the only reason of price.  I would
> encourage you look at them and see how they stack up.
>
> I used to buy my domains at GoDaddy until the price kept increasing.
> Now I am with NameSilo.
>
> 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.
>
> So basically set up a guest as a server and then connect to the guest like
it's a server on the public internet?  My Mint development environment is a
guest on Windows.   I am an 'occasional' Linux and FOSS user.

Also, I like programming and software engineering and I'm always happy when
someone does the admin for me and tells me how they want the app to
implement security.  (That is admin is moderately fun, and thinking about
security makes me more anxious and paranoid in general, which is
unpleasant--so I'm even more happy to outsource as much of that as I can
get away with.)

(My general observation as an almost qualified anthropologist is that
security professionals, whether prison guards, police, or cyber-security
are more anxious and suspicious -- even paranoid than the population at
large.  I suspect they start a little bit more anxious and suspicious [and
it turns them on], then thinking about and coping with all the stuff bad
actors can do to you all day long makes it ever so much more so.)


> I recently configured Proxmox on a old piece hardware and am glad I did.
>
> Keith
>
>
>
>
> 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 

Re: TDD w/ Python, ch 9

2023-01-25 Thread Bob Elzer via PLUG-discuss
I'm not sure about web hosting. But as for domain names, I use Google
Domains, it's $12 for a year.


On Wed, Jan 25, 2023, 7:53 AM trent shipley via PLUG-discuss <
plug-discuss@lists.phxlinux.org> 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:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: TDD w/ Python, ch 9

2023-01-25 Thread Keith Smith via PLUG-discuss

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 would stay away from GoDaddy for the only reason of price.  I would 
encourage you look at them and see how they stack up.


I used to buy my domains at GoDaddy until the price kept increasing.  
Now I am with NameSilo.


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




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:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss