On Saturday, 6 February 2021 16:05:19 GMT Ralph Corderoy wrote:
> The web version has a chapter on deploying to Ubuntu Linux, which is
> similar to Debian and thus Raspbian, and then touches on the Pi and its
> Raspbian at the end.
> https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part
Hi Terry,
> I used sudo chown -hR www-data:www-data: /home/pi/html/
So unless ‘other’ has permission to write to directories, etc., user pi
will find it awkward to update that area, as you found.
> > Understand the aim: your web-server Python code will be running as
> > user and group www-data s
Hi Terry,
> I've always thought of remotes as being something like GitLab.
No, it just means repositories which aren't this one which have branches
you want to track. A remote can be on the same machine in a nearby
directory.
--
Cheers, Ralph.
--
Next meeting: Online, Jitsi, Tuesday, 2021-
On Saturday, 6 February 2021 14:38:56 GMT Ralph Corderoy wrote:
> Why not git-push(1) on the PC to Pi. Or git-pull(1) on the Pi from the
> PC. GitLab need not be the only remote repository.
> https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
I'll look into that. I've always thought
Hi Hamish,
Hamish wrote:
> Maybe you could set up a VM for testing locally, and then deploy
> production versions via gitlab?
>
> Or use a testing branch and the merge to master once all is done and
> tested.
In reply to Terry:
> > The problem with that is that I would need to push intermediate
>
On Saturday, 6 February 2021 13:45:35 GMT Ralph Corderoy wrote:
> That's confused. It claims to be setting ‘its group owner’ but uses
> chown(1) which changes the owner. chgrp(1) would change the group.
> There is no such thing as a ‘group owner’ so what was intended and why?
If you don't know,
Hmm,
Maybe you could set up a VM for testing locally, and then deploy production
versions via gitlab?
Or use a testing branch and the merge to master once all is done and tested.
Hamish
On 6 Feb 2021, at 13:19, Terry Coles
mailto:d-...@hadrian-way.co.uk>> wrote:
On Saturday, 6 February 2021 1
Hi Terry,
> > Can anyone suggest a way forward with this issue. My Flask code has
> > been working well while I've been testing it using the Flask
> > Development Server, so I decided to deploy it on nginx. To do this
> > I followed the Tutorial at:
> >
> > https://www.raspberrypi-spy.co.uk/2018
On Saturday, 6 February 2021 13:02:14 GMT Hamish MB wrote:
> Best to set it up so you can just use git pull I imagine, if possible
The problem with that is that I would need to push intermediate versions from
my desktop to GitLab or do or my development directly on the Pi.
I prefer to do the ini
Best to set it up so you can just use git pull I imagine, if possible
On 6 Feb 2021, at 11:40, Terry Coles
mailto:d-...@hadrian-way.co.uk>> wrote:
On Saturday, 6 February 2021 10:55:23 GMT Terry Coles wrote:
What do I need to do to get this to work?
I may have partially solved this. Since in t
On Saturday, 6 February 2021 10:55:23 GMT Terry Coles wrote:
> What do I need to do to get this to work?
I may have partially solved this. Since in the Tutorial the application
directory is created before the App is download directly to it using wget, I
assume that the contents of the directory
Hi,
Can anyone suggest a way forward with this issue. My Flask code has been
working well while I've been testing it using the Flask Development Server, so
I decided to deploy it on nginx. To do this I followed the Tutorial at:
https://www.raspberrypi-spy.co.uk/2018/12/running-flask-under-ngi
12 matches
Mail list logo