STScI-Citizen-Science / MTPipeline

Pipeline to produce CR rejected, astrodrizzled, png's of HST WFPC2 solar system data.
6 stars 1 forks source link

Wally's Computer Setup #78

Closed acviana closed 10 years ago

acviana commented 10 years ago

These are all the activities that are necessary to setup your machine for our project as well as some background reading. Please add any notes to the ticket you think might be useful for Kevin.

ITSD

$ which python
$ echo $PATH
$ ur_setup
$ which python
$ echo $PATH
$ which virtualenvwrapper
$ pip install virtualenvwrapper --upgrade
$ which virtualenvwrapper
$ cd ~
$ mkdir virtualenvs
$ cd virtualenvs
$ virtualenv mtpipeline-production
$ cd mtpipeline-production/
$ source bin/activate.csh

Now check your $PATH variable as well as where your python executable points as we did before to see what changed.

$ mkdir virtualenvs
$ cd virtualenvs
$ virtualenv mtpipeline-production
$ cd mtpipeline-production/
$ source bin/activate.csh
$ pip install numpy
$ git clone https://github.com/STScI-Citizen-Science/MTPipeline.git
$ cd MTPipeline/
$ python setup.py develop

Background and Git Tutorial

walyssonBarbosa commented 10 years ago
walyssonBarbosa commented 10 years ago
acviana commented 10 years ago

I realized that because I made the ticket you can't check the boxes. I'll think about if I want to change that or not because it also comes with other privileges such as push to the master branch which I wanted to restrict.

As for the build don't get the dev version, version 1.0 is the one you want: http://ssb.stsci.edu/ureka/1.0/

acviana commented 10 years ago

I forgot to mention, once you install ureka, install virtualenvwrapper -in- the ureka environment. Actually, do all your work in the ureka environment. Like this:

$ which python
$ echo $PATH
$ ur_setup
$ which python
$ echo $PATH

See the difference? Now run:

$ which virtualenvwrapper
$ pip install virtualenvwrapper --upgrade
$ which virtualenvwrapper
walyssonBarbosa commented 10 years ago

After installing virtualenvwrapper, run:

$ mkdir virtualenvs
$ cd virtualenvs
$ virtualenv mtpipeline-production
$ cd mtpipeline-production/
$ source bin/activate.csh
$ pip install numpy
$ git clone https://github.com/STScI-Citizen-Science/MTPipeline.git
$ cd MTPipeline/
$ python setup.py develop
acviana commented 10 years ago

I think we can close this ticket right?

walyssonBarbosa commented 10 years ago

Jim has not contacted me about MySQL yet. Tomorrow I will pass by the ITSD to solve this issue.

walyssonBarbosa commented 10 years ago

MySQL done! We can close this ticket now.