I started checking out pythonanywhere but ran into some trouble getting my site up. I was going through tutorials and decided to try using tortoise hg mercurial and bitbucket to get my site from my computer to pythonanywhere. I was able to get mercurial on my computer and working, and upload my site to bitbucket. I can now push changes and make a separate clone of the repository on my pc, but I still can't get the site working on pythonanywhere. I tried using their bash console with the cmd
hg clone https://m...@bitbucket.org/me/myproject. This works and I can see all my files on the pythonanywhere console, but it seems to always create and extra folder in pythonanywhere that does not happen on my pc. So locally I have a folder that contains \localfolder\.hg \localfolder\web2py \localfolder\.hgignore when I push this to bitbucket it looks like this: \mybitbucketproject\.hg \mybitbucketproject\web2py \mybitbucketproject\.hgignore When I clone my repo in pythonanywhere I end up with an extra folder: \mypythonanywherefolder\mybitbucketproject\.hg \mypythonanywherefolder\mybitbucketproject\web2py \mypythonanywherefolder\mybitbucketproject\.hgignore I don't know why the 'mybitbucketproject' folder gets created, it looks like pythonanywhere isn't expecting it to be there to work. I think it should look like '\mypythonanywhere\web2py' but I end up with an extra folder in between and my site doesn't work. I just get an Unhandled Exception if I go to the site. If I clone my repo on bitbucket to my pc I don't get that extra 'mybitbucketproject' folder. I don't know why it only does that on pythonanywhere, and I'm not sure how to fix this. I really don't know what I am doing, I only just found out what all this 'git' stuff was today. I also had to look up what ssl was. Getting a site working online seems to be the most difficult part for me. On Tuesday, April 16, 2013 10:31:49 PM UTC-4, pallav wrote: > > 1. I do not have any experience with HostMonster. If they give you root > access to a Linux (hopefully Ubuntu) shell it should be straightforward to > install web2py (using the instructions from the book). It seems that this > option has the most unknowns for you. > > 2. PythonAnywhere allows you to have custom domains if you buy their Web > Developer account ($12/month -- https://www.pythonanywhere.com/pricing/). > They seem to be very responsive (active in user forums and blogs) and > should be able to walk you through any issues you encounter -- probably the > best option for you if you have limited experience. However over the last > few weeks of using them, I have found their servers to be unresponsive at > times (usually resolves itself within a 10-15 minutes). I'm on the free > account though, their paid account claims more bandwidth. > > 3. Google App Engine also supports custom domains. You will have to first > sign up for a Google Apps for Business ( > http://www.google.com/intl/en/enterprise/apps/business/) account - once > you log in, you can go into domain settings and verify that you have > ownership of the custom domain you are claiming ( > http://support.google.com/a/bin/topic.py?hl=en&topic=9196&parent=2426592&ctx=topic), > > then you can set the rest of it up using the instructions at > https://developers.google.com/appengine/docs/domain . The cost will > probably come out to around what the PythonAnywhere account costs. > > Does your app need SSL? If so, Google App Engine may not work - SSL on > custom domain costs up to $40/month. If that is within your budget, it > seems the most stable/supported of your options. > > If that is too much, PythonAnywhere offers SSL, but you will have to work > with them via email/forums/phone (they need to install stuff manually for > you when I checked last). > > > On Tuesday, April 16, 2013 8:43:55 PM UTC-4, jjg0 wrote: >> >> Hi Everyone >> >> I've been asked to replace a site for someone who currently has an >> account and domain with hostmonster. I made a demo for them they like with >> web2py and put it on google app engine. Aside from playing around with gae >> I've never actually deployed a web2py site. Pythonanywhere seems like it >> would be the ideal option, in fact I probably should have been using them >> from the beginning. But since everything I made is on gae and their >> current site is on hostmonster, it might be too late to consider >> pythonanywhere. For people who have experience deploying web2py, which >> route do you think would be easier given what I currently have to work with >> and how would I go about getting everything set up? >> >> 1. Just use their hostmonster account, in which case I have no idea how >> to get web2py working with them but hostmonster claims to support python. >> I'm guessing this would require the most work >> >> 2. Create a pythonanywhere account and upload the site there, then >> somehow use their current domain name they have with hostmonster? Is that >> even possible? If so, how? >> >> 3. Stay on google app engine since the site is already up and running >> and working. Then somehow start using their domain name with hostmonster >> instead of the generic www.mygmail.appspot.com? I've looked into this >> but it doesn't seem possible to do so. I found some tutorials that let >> you register a subdomain with google and use that, (register mysubdomain >> and have www.mygmail.mysubdomain.com and play with the settings to >> eventually use www.mysubdomain.com) but I haven't found anything that >> lets you use a domain you already own from another company. >> >> Despite how clueless I am with actually launching a site, the guy who >> owns this business is very computer illiterate and said I can go whatever >> route I think is best. (He foolishly assumes what I think is best and what >> actually is best are the same!) The only requirement is that the domain >> name for the site he owns stays the same. I think this part is what I'm >> really hung up on at the moment. >> >> Although I did make a demo site for them I wasn't planning on actually >> replacing their current site for a while, but for whatever reason they >> suddenly asked me to switch their site asap. I'm not a professional web >> developer and I'm not actually getting paid, so I'm a little unprepared:( >> >> Any help would be greatly appreciated! >> >> Thanks so much! >> >> >> -- --- 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/groups/opt_out.