login community faq

is there going to be a one-click installer for web2py anytime soon?

asked Jun 14 '11 at 11:26

blackthorne's gravatar image

blackthorne
11

are there any better answers to this? Current anwser does not work, atleast as described.

(Nov 10 '11 at 02:55) Baron Baron's gravatar image

@Baron: see my answer

(Nov 13 '11 at 19:33) user user's gravatar image

We have a script that will install web2py for you.

Here is the link: web2py installer

*If you choose the hg option, you must have hg installed in your account.

answered Jun 14 '11 at 11:31

timg's gravatar image

timg ♦♦
4714

edited Sep 14 '11 at 19:21

seanf's gravatar image

seanf ♦♦
56291220

thank you,now trying to sort the error: Error: /var/tmp/api_system.61108: line 1: Error:: command not found that I got in the latest source version (not hg).

(Jun 14 '11 at 11:41) blackthorne blackthorne's gravatar image

You can also install manually by clicking on view code, copy the script minus the first and last lines. Then add a new application, choice custom for the type. Click view/hide script and paste the script into Script code.

(Jun 14 '11 at 11:48) timg ♦♦ timg's gravatar image

problem with the links on that wiki page has to do with the URL encoding. After decoding the target url for the script it worked

(Jun 14 '11 at 12:14) blackthorne blackthorne's gravatar image

The link in this answer should be a hyperlink

(Sep 14 '11 at 19:16) user user's gravatar image

ok, fixed.

(Sep 14 '11 at 19:21) seanf ♦♦ seanf's gravatar image

I got the same error as blackthorne about /var/tmp/api_system... and decoding the url worked for me as well.

(Sep 14 '11 at 19:28) user user's gravatar image

also same error for me, even when decoded URL

(Nov 10 '11 at 02:54) Baron Baron's gravatar image

This script should work with decoded URLs. If it's not working, please open a support ticket and we'll be happy to look into it.

(Nov 10 '11 at 03:01) ryans ♦♦ ryans's gravatar image

OK, have opened ticket

(Nov 10 '11 at 03:10) Baron Baron's gravatar image

Just an update on this - it seems the hyperlink can cause issues with the Control Panel not recognizing the URL. In this case, try typing the following URL directly in the "Script URL" field of the "Custom Application" dialogue:

https://wiki.webfaction.com/wiki/Web2py-LatestSource?format=txt

(Nov 10 '11 at 03:35) ryans ♦♦ ryans's gravatar image

This answer does not really give the complete story. If you follow it, it won't work without jumping through some hoops. See my answer for a working solution.

(Nov 24 '11 at 13:55) user user's gravatar image
showing 5 of 11 show all

Go to: https://wiki.webfaction.com/wiki/InstallScripts#web2py

Near the bottom of that page click on the "Install" link where it says:

web2py (Latest stable source): Install or View code

Log into your webfaction panel if prompted to.

You should be taken to a page in your webfaction panel for installing a custom script. On that page there will be a field called "Install script url:". In that field there will be a url but it will have wacky url encoding:

https%3A%2F%2Fwiki.webfaction.com%2Fwiki%2FWeb2py-LatestSource%3Fformat%3Dtxt

Edit the text in that field to make it normal (just copy and paste the following):

https://wiki.webfaction.com/wiki/Web2py-LatestSource?format=txt

Click the "Fetch Url" hyperlink.

Click the Create button. This literally takes about 1 minute to install. Voila! I just did it now so I can cofirm this works.

answered Nov 13 '11 at 19:33

user's gravatar image

user
3710

edited Nov 13 '11 at 19:35

I can't log in to web2py's admin panel via my admin pwd??

(Nov 20 '11 at 06:49) jrbio jrbio's gravatar image

Your initial web2py admin password is set to your WebFaction password but if you change on of them, the change doesn't reflect to the other.

(Nov 20 '11 at 07:02) iliasr ♦♦ iliasr's gravatar image

I did a fresh install of web2py via the script and made my admin.jrbio.info website use connect to the web2py app via https. The other two (jrbio.info and www.jrbio.info) are connected to the same app, w/o https. Now I can't login to my web2py admin site, I've checked the pwd couple of times.. What am I missing here?

(Nov 20 '11 at 18:52) jrbio jrbio's gravatar image

It doesn't look like you have any HTTPS website records defined for your application, so the HTTPS URLs merely result in a Site Not Configured page. For more information on HTTPS, please see our HTTPS documentation.

(Nov 20 '11 at 19:19) ryans ♦♦ ryans's gravatar image

According to their CEO, yes. I just received this email from her after I suggested it in reply to a feedback email.

Hi Chris, Thanks for suggestion. We were already planning on adding a web2py installer so I've bumped up the priority.

Regards, Remi.

answered Nov 21 '11 at 12:15

HittingSmoke's gravatar image

HittingSmoke
55

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×18
×11

Asked: Jun 14 '11 at 11:26

Seen: 1,577 times

Last updated: Nov 24 '11 at 13:55

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited