Would writing an installer be useful? there are many possibilities,
and not that huge of a deal to get something out there and that can be
expanded with richer/better features with time... Besides, the
benefits are well worth it...

1) give the user options @ install/update/upgrade time is always a
good thing
   * upgrading without overwriting existing application is often
desirable and is always appreciated from the user perspective where
doing it through an installer (which is viewed as the competent
authority by many) does in fact inspire confidence, specially with the
more novice.
   * updates (as opposed to upgrades) can be much quicker and more
seamless
   * gives the user a good sense cmd & control when provided with the
choice of well targeted configuration options (reminds me of the story
about WHY the Duncan Hines people decided that adding an egg to the
recipe was better than not where, previously they had a much better
and easier product to use (just add water)... because the mommies
needed to feel better about baking a cake)
   * sometimes, all it takes to fix a problem either introduced by the
software provider or a problem cause by well meaning but accident
prone user, is with an installer with a nice big blue check box
labeled "yes, I just did something silly and I and would like the
installer to fix my screw up?" - something I have used MANY times
before and was glad for the chance to choose "fix" and not "re-
install" (or upgrade)
   * many users feel better looked after with an installer that tells
him/her what is hapening (i.e. "oh, it backs up my previous install
and I can revert! :)" )
   * the user can send the software provider known logs back to the
provider about a particular configuration with things an installer can
record (where it was installed, OS, disk space, previous version, ...
what is needed)
   * the list goes on...

2) * from the distribution side, this provides a very good first
contact with the user... you rarely get more of the users attention
then @ install time (unless you're that big of a fan that you follow
threads on google groups ;))
   * with good use of such tings as well chosen panels, you get this
"free of charge publicity time slot" - one on one time with the user
(specially new ones),
   * give the provider (in this case Massimo) an open window to reach
his/her users at chosen times (i.e. @ update time, the user chooses
"update form the web",  where Massimo can have messages displayed,
flashing panels with target information, why not take the opportunity
to survey the users (Eg. how well know is it, the number if people who
install web2py? do they get stumped and discouraged? does everybody
know about the web2py google group?, I would assume that there are
more of the "won't look any further than the install" type of people
out there, than there are of the "keep at this until it works" type of
people...
   * there are many more good reasons to go the install way... more
than I could possibly come up here with this quick blurb... besides,
it doesn't mean you don't keep the current install/update/upgrade
methods you have, just means you provide more opportunities...

anyways, just my cents and would be glad to help if needed

Mart :)

On Oct 17, 7:56 am, Zphen <sluk...@gmail.com> wrote:
> I saw that the relevant operations are performed on first run in
> widget.console(), so I suggest we execute this function in the script
> too:
>
> --- setup-web2py-ubuntu.sh      2010-10-13 01:22:51.000000000 +1100
> +++ setup-web2py-ubuntu.sh.new  2010-10-17 22:49:52.258486749 +1100
> @@ -163,5 +163,6 @@
>
>  /etc/init.d/apache2 restart
>  cd /home/www-data/web2py
> +sudo -u www-data python -c "from gluon.widget import console;
> console();"
>  sudo -u www-data python -c "from gluon.main import save_password;
> save_password(raw_input('admin password: '),443)"
>  echo "done!"
>
> Simon
>
> On Oct 17, 1:58 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > How do you suggest change the installation script to get this done
> > automatically?
>
> > On Oct 15, 3:38 pm, Zphen <sluk...@gmail.com> wrote:
>
> > > > I upgraded to version 1.87.3, the problem I am facing is that I cannot
> > > > upload and install packed applications via the admin web interface.
> > > > The flash message: unable to install application "init".
>
> > > I had the same problem when setting up an Ubuntu 10.04 AMI with web2py
> > > 1.87.3 on EC2 yesterday using the setup-web2py-ubuntu.sh install
> > > script as described in the book. Fortunately the first solution that I
> > > tried solved it for me, which was from the WebFaction Forum 
> > > athttp://forum.webfaction.com/viewtopic.php?pid=18401
>
> > > mkdir web2py/deposit
> > > touch web2py/applications/__init__.py
>
> > > Simon
>
>

Reply via email to