tgallant / angular-tpd-vis

1 stars 1 forks source link

Fixing up the database import process #7

Closed seanastephens closed 9 years ago

seanastephens commented 9 years ago

If you run db_setup.py now, the script will

Additionally, the python script was refactored so that it will be a lot easier to add, for example, nicer header names for all the columns.

There are a bunch of small changes, but nothing to any javascript files.

seanastephens commented 9 years ago

One issue - the script now has some dependencies. Whats the best way to make sure that the machine it is running on has all of

python is a gimme, but the other two are definitely not.

EDIT: Later commits address this.

tgallant commented 9 years ago

you can use pip to install python dependencies and export that list to a requirements.txt file.

so you'd use pip to install the dependencies, then run pip freeze > requirements.txt to save them to a file. then once you push that file we'd run pip install -r requirements.txt