[web2py] The new Instant Press CMS

2012-07-02 Thread netcode
Has anyone tried the new Instant Press 2.1.2 ? To me, its cool and has new 
features like the up and down votes on comments but also the 'share links' 
were removed. However, it says you can adjust the DAL config in the file 
"00config.py" but i dont even see any such file on the list. The present 
models there are: 
   
   - 
   

00main.py
   - 
   


instantpress/00main.py
   - 
   


users/00main.py

Please i would greatly appreciate a prompt response as am already feeding 
my blog with posts and i want the database changed to mySql rather than the 
default sqlite.

thanks 


[web2py] openID in InstantPress

2012-05-31 Thread netcode
i read the discussion on openID using Janrain (janrain.com) and i tried 
implementing it on my blog built with InstantPressit . it worked just well 
but i discovered it disabled my registration page(for new users) and also 
my default sign in page was disabled 

from gluon.contrib.login_methods.rpx_account import RPXAccount
2 auth.settings.actions_disabled=['register','change_password','
request_reset_password']
3 auth.settings.login_form = RPXAccount(request,
4 api_key='...',
5 domain='...',
6 url = "http://localhost:8000/%s/default/user/login"; % request.application)

i am aware dat line 2 disables the default login but is there a way one can 
make this openID optional thereby reserving your default login page and the 
registration page 

many thanks 


Re: [web2py] shared host deployment of my web2py site

2012-04-24 Thread netcode
I got SSH enabled on my account. Currently using putty but when i run this: 
"./configure --prefix=$HOME" i get the following error:

*checking for --enable-universalsdk... no*
*checking for --with-universal-archs... 32-bit*
*checking MACHDEP... linux2*
*checking EXTRAPLATDIR...*
*checking machine type as reported by uname -m... i686*
*checking for --without-gcc... no*
*checking for gcc... no*
*checking for cc... no*
*checking for cl.exe... no*
*configure: error: no acceptable C compiler found in $PATH*
*See `config.log' for more details.*


Any idea?
On Sunday, 15 April 2012 22:06:53 UTC+1, backseat wrote:
>
> On Sun, 15 Apr 2012 07:36:19 +0100, doncoleon...@gmail.com said:
>
> > So you mean I should just click the 'configure' file?
>
> You need to do this from the command line.
>
> > And how do I add
> > the parameters, are u saying
>
> It's "you", not "u".
>
> You need a open a terminal window and type in the commands you quoted
> originally.
> -- 
> "You can have everything in life you want if you help enough other people
> get what they want" - Zig Ziglar. 
>
> Who did you help today?
>
>

[web2py] Re: [web2py:26101] Re: Deployment of Python web apps on shared hosts.

2012-04-14 Thread netcode
you may also want to save some money and find a way to run web2py with 
fastCGI on a shared domain

On Friday, 10 July 2009 06:12:14 UTC+1, eric cs wrote:
>
> Thanks guys, I am just wondering why Php runs better with less memory than 
> Python and Ruby.
> @Massimo
>  Because in web2py apps are executed not imported
> (the only framework to do so) we do not have this issue and seem to
> run lean.
> Simply amazing
> I really don't understand how someone could use other framework, specially 
> with Python.
>  
>
>
>  
> On Fri, Jul 10, 2009 at 12:54 AM, Yarko Tymciurak wrote:
>
>> you might want to look at webfaction as an option - the RAM and disk 
>> space for cost I found very competative; running web2py is no problem; 
>> their support and their performance seems good. 
>>  
>>
>> On Thu, Jul 9, 2009 at 11:24 PM, mdipierro wrote:
>>
>>>
>>> Python does not use much memory in my experience. Some python
>>> frameworks have a problem with memory leaks because things do not
>>> always get garbage collected when they go out of scope because of
>>> hidden references, Because in web2py apps are executed not imported
>>> (the only framework to do so) we do not have this issue and seem to
>>> run lean.
>>>
>>> Massimo
>>>  
>>> On Jul 9, 9:12 pm, eric cs  wrote:
>>> > What about Ram consuption, I know Ruby likes that a lot, how does
>>> > Python compare to Php in this issue?
>>> > Thanks.
>>> >
>>> > On Jul 9, 9:27 pm, eric cs  wrote:
>>> >
>>> > > Thanks I really appreciate that I was just wondering if its hard and
>>> > > what do I have to learn besides web2py,Python and Mysql.
>>> > > Thanks.
>>> >
>>> > > On Jul 9, 9:21 pm, mdipierro  wrote:
>>> >
>>> > > > It depends on the host each one is different. If they support any
>>> > > > other python framework than you can assume it is possible and we 
>>> can
>>> > > > help you set it up.
>>> >
>>> > > > On Jul 9, 8:03 pm, eric cs  wrote:
>>> >
>>> > > > > Hey Everybody,
>>> >
>>> > > > > I would like to ask you a question about deployment on shared 
>>> hosts
>>> > > > > like on goddady.com
>>> > > > > I saw some guys having problems trying to deploy some ruby on 
>>> rails
>>> > > > > apps on godaddy shared account and they didn't offer a very good
>>> > > > > support for that.
>>> > > > > So I was wondering how difficult it is to deploy a python app 
>>> done
>>> > > > > with web2py and django and how fast they run compared with a PHP 
>>> and
>>> > > > > Jython on JVM.
>>> > > > > Please remember on shared hosts let's say a medium e-commerce 
>>> app.
>>> > > > > Thanks.
>>>
>>>
>>
>>

[web2py] shared host deployment of my web2py site

2012-04-14 Thread netcode
Hello All, 
i am trying to follow up on steps in this 
link:http://www.web2pyslices.com/slice/show/1401/web2py-on-shared-hosting-hostmonster-with-fastcgibut
 i think am lost now.

I have downloaded and extracted the python setup to the Home Directory but 
after that, it says this:


cd $HOME/Python-2.6.5
./configure --prefix=$HOME
make
make install

and thats where am lost. i know 'cd $Home/python-2.6.5' means i should be in 
the python folder in my home directory but i dont 
know what the next line of instruction says 

If we can have these installation steps in plain english, i think most web2py 
users having the same difficulty would be satisfied

many thanks 




[web2py] Re: Installation on GoDaddy shared server

2012-04-14 Thread netcode
webfaction does not handle domain registration. you still have to get a 
host and then change your nameservers to that of webfaction so you can have 
control of your DNS from the webfaction control panel.
On Friday, 21 January 2011 19:36:56 UTC+1, stargate wrote:
>
> How do I install web2py on a GoDaddy shared server.  Also what are the 
> steps to install it on a regular linux server. 
>


[web2py] Error in online purchase of web2py pdf 4th edition

2012-04-11 Thread netcode
Hello, 
Please i wanted the pdf of the web2py 4th edition. I already entered 
details of my credit card and I've submitted the details. I received a 
message from my bank saying that I've been debited but on the site, i get 
errors saying my card number was rejected. 

It would be greatly appreciated if this problem is resolved and if my 
e-book can be received urgently. 

Thank You 

Ottih Arinze


[web2py] Re: compiling web2py app

2012-04-03 Thread netcode
cant post the error message cos it comes up as a flash message and 
disappears in a minute seconds. 

On Monday, 26 March 2012 11:52:12 UTC+1, Alan Etkin wrote:
>
> Could you post the errors you get when compiling? 
>
> Perhaps you can use the installer administrative interface facility 
> (w2p files) for remote app deployment. 
>
> On 26 mar, 00:17, netcode  wrote: 
> > Hello all! 
> > i am from a windows environment and i expect things to be easy. well, i 
> > moved to ubuntu of recent where i develop using python and web2py. I am 
> > currently trying to raise a blog using the InstantPress CMS. I am done 
> with 
> > customizing its contents but i get errors when trying to compile it so i 
> > can FTP the files to my domain. 
> > 
> > In windows, it only takes you to compile your web application and FTP 
> the 
> > files and Folders to your domain and just with a click. Please i would 
> > appreciate help on getting my web2py (InstantPress) app ready for 
> copying 
> > to my domain so users can access my blog. 
> > 
> > Many Thanks, 
> > Netcode



[web2py] web2py and apache

2012-03-30 Thread netcode
hello guys,
please am a newbie on ubuntu environment but been using python for a month 
now. I am using the InstantPress to make a blog on the web2py framework. 
Now, am reading the deployment recipe on the official web2py documentation 
but it males no sense to me yet. i get confused at this point:

Then, enable the SSL module, the proxy module, and the WSGI module in 
Apache:

1.
2.
3.
4.
5.
6.

sudo ln -s /etc/apache2/mods-available/proxy_http.load \
   /etc/apache2/mods-enabled/proxy_http.load

Am i to run the command as a single line or am i to break them into two, i 
really dont understand the backslah at the end of the first line. cos when 
i run as a single line, i dont see anything processing on my terminal.
Also, most links on web2py site are broken, they give an invalid reference 
ticket.


thanks, 
netcode


[web2py] compiling web2py app

2012-03-26 Thread netcode
Hello all! 
i am from a windows environment and i expect things to be easy. well, i 
moved to ubuntu of recent where i develop using python and web2py. I am 
currently trying to raise a blog using the InstantPress CMS. I am done with 
customizing its contents but i get errors when trying to compile it so i 
can FTP the files to my domain. 

In windows, it only takes you to compile your web application and FTP the 
files and Folders to your domain and just with a click. Please i would 
appreciate help on getting my web2py (InstantPress) app ready for copying 
to my domain so users can access my blog.

Many Thanks,
Netcode 


[web2py] Re: web2py resources

2012-03-01 Thread netcode
Thanks, wikus. yeah, i noticed that variable  and the comments just beneath 
it thst helps to change to any other dbase. i would love p-sql so am going 
to do just that. 

On Thursday, 1 March 2012 17:46:04 UTC+1, netcode wrote:
>
> Hello all, i think we need more web2py resources. am new to web2py but 
> i find it hard to get a loaded and comprehensive video to help in 
> building apps. Also, i find it difficult to get a good CMS written in 
> web2py. Luckily, i found one i could use for my blog and its called 
> InstantPress. Its cool and am done with setting the blog to what i 
> want. My issue is this, i did no special editing to codes so its all 
> default and i would like to know what dbms was used by instantpress. 
> From observations, its sqlite but i want to be sure. 
>
> secondly, i am ready to host so what next? should i just compile the 
> application and FTP the files to my domain. If i do this, would it 
> read the sqlite files just like that or i have to create my own online 
> dbase using sql scripts just as with ms-sql server? 
>
> Many Thanks, guys 
> Netcode



[web2py] web2py resources

2012-03-01 Thread netcode
Hello all, i think we need more web2py resources. am new to web2py but
i find it hard to get a loaded and comprehensive video to help in
building apps. Also, i find it difficult to get a good CMS written in
web2py. Luckily, i found one i could use for my blog and its called
InstantPress. Its cool and am done with setting the blog to what i
want. My issue is this, i did no special editing to codes so its all
default and i would like to know what dbms was used by instantpress.
>From observations, its sqlite but i want to be sure.

secondly, i am ready to host so what next? should i just compile the
application and FTP the files to my domain. If i do this, would it
read the sqlite files just like that or i have to create my own online
dbase using sql scripts just as with ms-sql server?

Many Thanks, guys
Netcode