Re: TDD w/ Python, ch 9

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: techlists
Subject: Re: TDD w/ Python, ch 9
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 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:
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list:
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list:
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list:
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss