[web2py] Re: Deployment Confusion
Thank you for the advice, but as I already have a years domain and hosting with godaddy I was hoping for some specific advice regarding setup using that service. godaddy support suggest that I simply upload all the files from my web2py application but I asssume this will not give me admin interface access? I have really enjoyed using web2py but if the deployment isnt simple I may have to change to something supported by my hosting provider, like wordpress, joomla or drupal.
[web2py] Re: Deployment Confusion
Thank you all for your help so far. I will try your suggestions. I can get SSH access to my host. It runs Python 2.4.3 and Linux distro is quoted as: Linux n1nlftpg005.shr.prod.ams1.secureserver.net 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 i686 i686 i386 GNU/Linux On Jan 30, 4:46 pm, Bruno Rocha rochacbr...@gmail.com wrote: AS I said,I know only two host options where you can simply put the files there and everything runs without the need of configuration. ['Google App Engine', 'webfaction'] In other shared hosts you need to follow some deployment instruction: I guess this slice works for godaddyhttp://www.web2pyslices.com/main/slices/take_slice/76 or if you have a VPS you can use deployment script on /scripts folder, or follow this slices (deppending on your VM setup)http://web2pyslices.com/main/slices/take_slice/110http://web2pyslices.com/main/slices/take_slice/98 Here in Brazil, we have a shared host (kinghost.com.br) that has 'One Click Install for web2py' in control panel, but I dont know any other. In the bookhttp://web2py.com/book/default/chapter/11you can find information needed to setup web2py with wsgi, mod_wsgi and mod_python. Python web apps (indepent of teh framework you are using) works in a different way of PHP or ASP applications. Do you know exactly what is the setup provided by GoDaddy? Python Version, Linux Distro?
[web2py] Deployment Confusion
I have been happily designing my business website for a while now. Web2Py is very easy to use and has been a brilliant way to learn html, css and a bit of java. I am getting close to wanting to deploy the first version of m site but honestly, after reading the deployment section of the web2py book I find it daunting and confusing. I have a hosting account and domian with godaddy.com. Ideally I would like both upload my current website and have my draft versions all accessible from the admin interface online. Is this possible? Is it worth going down the google app engine route? This seems a little simpler? Im sorry if I am not making any sense,
[web2py] Re: New User - a few simple questions...
Cheers Anthony, Ill get started on the menu's. Not far from being able to deploy my first Web2Py website!!!
[web2py] Re: New User - a few simple questions...
Thank you both for your replies. I have got the favicon bit working. I read a bit online and exported the inkscape .svg to .png using export bitmap, rather than Save As png. It now looks perfect. I'm not sure moving files via admin is possible -- you're probably better off just doing that via the OS. I didnt realise that I could access the application files directly! Now my files are tidy! Thank you. The css and js files in the /static/css and /static/js folders are the ones used by the current scaffolding app (you can see that they are the ones included in the head of 'layout.html'). The files in the root /static folder are probably from the older scaffolding app -- they may be there because you first downloaded an older version of web2py and later unzipped the newer version on top of the old version. Thank you again! That is exactly what has happened, I have upgraded a few times. I will delete the unused files. All the other information was also very useful thank you Anthony. I have kept the logo file in .css. One more quick question.. The scaffolding app has a nice menu bar below the logo. Showing 3 menus. 2 of which 'drop down'. How do I edit these lists? I have managed to edit the rest of th page using the html, css, static files and the controller. It looks like it has something to do with superfish java but beyond that im stumped. Thanks again
[web2py] New User - a few simple questions...
I have been enjoying the learning process with web2py, honestly I have little knowledge of html, css and especially ajax. I am not far off having a functional website building on the scaffolding application, however I have a few questions please: How do I move static files (e.g *.png) into folders (i.e. /static/ images) using admin interface? I can only seem to get them in /static but want to keep the folders tidy. I have 2 base.css files in /static and one in /static/css why? what does web2py_ajax.html do? Why are ajax components required? There seems to be a space for a logo in layout.html and base.css which is the best to use? Not web2py related as such but I have created a favicon.ico of my own, but it is circular. In gimp/inkscape the background is transparent but when the favicon appears in my tab within chrome it has a white background. How do I fix this? Cheers! B