[web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-29 Thread Niphlod
I'm working on revamping the scripts ... latest version (which one day or 
the other will be finalized) is ATM 
here https://gist.github.com/niphlod/8a13025001363657f0201b2a15dad41c

On Wednesday, June 29, 2016 at 7:07:18 AM UTC+2, Ben Lawrence wrote:
>
> They changed upstart for Ubuntu 16 so this script will work for ubuntu 14 
> and lower, not 16 ... as I experienced a few months ago (maybe things 
> changed since then?)
>
> On Saturday, June 18, 2016 at 4:36:58 PM UTC-7, Anthony wrote:
>>
>> Oops. It is now recommended that you use nginx+uwsgi instead of 
>> Apache+mod_wsgi, so, you could change the URL to:
>>
>>
>> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>>
>> Anthony
>>
>> On Saturday, June 18, 2016 at 4:35:37 PM UTC-4, horridohobbyist wrote:
>>>
>>> Is the web2py book out of date or out of sync? For one-step production 
>>> deployment, the setup-web2py-ubuntu.sh file is no longer at Googlecode.
>>>
>>> How can I setup web2py to work on a headless Ubuntu server quickly and 
>>> easily?
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-28 Thread Ben Lawrence
They changed upstart for Ubuntu 16 so this script will work for ubuntu 14 
and lower, not 16 ... as I experienced a few months ago (maybe things 
changed since then?)

On Saturday, June 18, 2016 at 4:36:58 PM UTC-7, Anthony wrote:
>
> Oops. It is now recommended that you use nginx+uwsgi instead of 
> Apache+mod_wsgi, so, you could change the URL to:
>
>
> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>
> Anthony
>
> On Saturday, June 18, 2016 at 4:35:37 PM UTC-4, horridohobbyist wrote:
>>
>> Is the web2py book out of date or out of sync? For one-step production 
>> deployment, the setup-web2py-ubuntu.sh file is no longer at Googlecode.
>>
>> How can I setup web2py to work on a headless Ubuntu server quickly and 
>> easily?
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-20 Thread Richard Vézina
Hello Horridohobbyist,

You can also read the book on how to deploy Apache :
http://www.web2py.com/books/default/chapter/29/13/deployment-recipes#Apache-setup

We make a clean up in deployment scripts sometimes ago because many were
outdated. We wand to avoid get to the same point (outdated stuff) so, the
decision were to slash down the number of scripts which were also kind of
not "DRY". If you want to bring back Apache script, feel free to update it
and propose a PR. It may be accepted, though you should take ownership to
maintain it in the future if it get back in the scripts folder and test it
carefully.

TO CORE TEAM:
If we don't want to include other deployment scripts in the future we
should stated it in the book where we talk about scripts... So it gonna be
clear that we don't support other scripts than the one available and refer
users to the deployment section of the book.

Should I open a ticket on the book repo about that?

Richard





On Sun, Jun 19, 2016 at 6:55 AM, Philip Kilner 
wrote:

> Hi,
>
> On 19/06/16 00:49, horridohobbyist wrote:
>
>> I don't have any experience with nginx. *Do I have learn nginx*, or will
>> the setup-web2py-nginx-uwsgi-ubuntu.sh script *do everything for me* (I
>> presume that's what one-step deployment means)?
>>
>
> You can still use Apache - I'm wary of the one-step stuff because I have
> other things on the server that it wants to overwrite, but if you can find
> an old copy of the script it's easy to understand and carry out the steps
> by hand.
>
> HTH
>
>
> --
>
> Regards,
>
> PhilK
>
>
> 'a bell is a cup...until it is struck'
>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> --- You received this message because you are subscribed to the Google
> Groups "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-19 Thread Philip Kilner

Hi,

On 19/06/16 00:49, horridohobbyist wrote:

I don't have any experience with nginx. *Do I have learn nginx*, or will
the setup-web2py-nginx-uwsgi-ubuntu.sh script *do everything for me* (I
presume that's what one-step deployment means)?


You can still use Apache - I'm wary of the one-step stuff because I have 
other things on the server that it wants to overwrite, but if you can 
find an old copy of the script it's easy to understand and carry out the 
steps by hand.


HTH


--

Regards,

PhilK


'a bell is a cup...until it is struck'

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups "web2py-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-18 Thread Anthony
You can use any of the scripts here 
that start with 
"setup" (some may be outdated -- we recommend nginx+uwsgi). I think they 
generally assume a fresh server and are not necessarily idempotent. Feel 
free to simply look through the scripts (which are commented) and extract 
only the parts you need.

Anthony

On Saturday, June 18, 2016 at 7:49:25 PM UTC-4, horridohobbyist wrote:
>
> But what if my Ubuntu server is already setup for Apache. Do I have to 
> abandon or *uninstall* Apache?
>
> I don't have any experience with nginx. *Do I have to learn nginx*, or 
> will the setup-web2py-nginx-uwsgi-ubuntu.sh script *do everything for me* 
> (I presume that's what one-step deployment means)?
>
> Thanks.
>
> On Saturday, 18 June 2016 19:36:58 UTC-4, Anthony wrote:
>>
>> Oops. It is now recommended that you use nginx+uwsgi instead of 
>> Apache+mod_wsgi, so, you could change the URL to:
>>
>>
>> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>>
>> Anthony
>>
>> On Saturday, June 18, 2016 at 4:35:37 PM UTC-4, horridohobbyist wrote:
>>>
>>> Is the web2py book out of date or out of sync? For one-step production 
>>> deployment, the setup-web2py-ubuntu.sh file is no longer at Googlecode.
>>>
>>> How can I setup web2py to work on a headless Ubuntu server quickly and 
>>> easily?
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-18 Thread horridohobbyist
But what if my Ubuntu server is already setup for Apache. Do I have to 
abandon or *uninstall* Apache?

I don't have any experience with nginx. *Do I have learn nginx*, or will 
the setup-web2py-nginx-uwsgi-ubuntu.sh script *do everything for me* (I 
presume that's what one-step deployment means)?

Thanks.

On Saturday, 18 June 2016 19:36:58 UTC-4, Anthony wrote:
>
> Oops. It is now recommended that you use nginx+uwsgi instead of 
> Apache+mod_wsgi, so, you could change the URL to:
>
>
> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>
> Anthony
>
> On Saturday, June 18, 2016 at 4:35:37 PM UTC-4, horridohobbyist wrote:
>>
>> Is the web2py book out of date or out of sync? For one-step production 
>> deployment, the setup-web2py-ubuntu.sh file is no longer at Googlecode.
>>
>> How can I setup web2py to work on a headless Ubuntu server quickly and 
>> easily?
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: One-Step Production Deployment: Who Moved the Cheese?

2016-06-18 Thread Anthony
Oops. It is now recommended that you use nginx+uwsgi instead of 
Apache+mod_wsgi, so, you could change the URL to:

https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh

Anthony

On Saturday, June 18, 2016 at 4:35:37 PM UTC-4, horridohobbyist wrote:
>
> Is the web2py book out of date or out of sync? For one-step production 
> deployment, the setup-web2py-ubuntu.sh file is no longer at Googlecode.
>
> How can I setup web2py to work on a headless Ubuntu server quickly and 
> easily?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.