Closed Bug 1093672 Opened 10 years ago Closed 9 years ago

Make first-time setup really easy with a script that does it all

Categories

(Webtools Graveyard :: Air Mozilla, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1118813

People

(Reporter: peterbe, Unassigned)

References

Details

Almost all the steps in the README [0] are things that a bash script can do. 

The script could live in the `bin/` directory [1] and it could be started with something like:

curl -s https://raw.githubusercontent.com/mozilla/airmozilla/master/bin/install.sh | bash

It should use `mkvirtualenv` if installed. Otherwise regular `virtualenv`.

It might need to ask the user to chose which python executable to use. With something looking like this::

  I found (/usr/bin/python2.7). Is that correct? [Y/n]
(if they answer no)
  Enter path to python executable you want to use:

The script should check that certain executables as available like `virtualenv` and `createdb` and exit with a clear error message if they're not because they would require sudo. 

We should try to really avoid using/needing sudo in this script. 

[0] https://github.com/mozilla/airmozilla#how-to-get-it-running-locally-from-scratch
[1] https://github.com/mozilla/airmozilla/tree/master/bin
Depends on: 1093681
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.