-
In a new virtualenv pip install the following packages
pip install -r requirements.txt
-
In PostgreSQL, create a new database or use an existing one, the one I use is called 'work'
createdb work
-
Clone this repo
git clone https://github.com/lukecampbell/ooi-models cd ooi-models
-
Edit the
init.py
file and replace the connection string with the correct informationengine = create_engine('postgresql+psycopg2://luke@localhost/work')
-
Run the scripts.py file to bootstrap and initialize the database
python init.py