webcompat / webcompat-cli-tool

CLI tool to set up config for webcompat.com
Mozilla Public License 2.0
5 stars 2 forks source link

Setup tool and first steps #10

Open karlcow opened 7 years ago

karlcow commented 7 years ago

The current cli tools is assuming already a lot of things for users. I don't know if it's a good thing or not. What I would have imagined is that we have more something ala pip. https://pip.pypa.io/en/stable/installing/ You get a unique script to run. In the past easy-install (for python) had a bash script (as it is usually the default on a unix/linux computer).

The scenario would be.

  1. welcome short message
  2. Asking if you want to clone the webcompat.com repo and/or point to an existing repo you already have. Cloning the repo would ask you where you want to put it or propose a default location. Example: ~/code/
  3. Check your version of python 2, check your version of nodejs
  4. install virtual environment.
  5. start the virtual environment
  6. install the python modules
  7. install the node modules
  8. then goes on to configuration files
  9. Configure paths for the project.
  10. (optional) Configure oauth credentials.

Possibility to exit at any time.

karlcow commented 7 years ago

To clarify: This is not to land now. This is a aim on what we could do. it's more of a feature request for subsequent versions.