See their api here
- clone the repo to you machine, then
cd
into the repocd dw-timescale-db
- start the environment for anaconda
conda env create -f environment.yml -n anaconda37
- activate env
conda activate anaconda37
orsource activate anaconda37
- install add-on for jupyter
conda install nb_conda
(for the Conda tab in jupyter notebook.) - install docker
- start the docker container
docker-compose up --remove-orphans
- use python to connect to the database and do work. (see
main.py
ORdb-connection.ipynb
)
conda install nb_conda
(if not already done)- activate env,
source activate anaconda37
- run the notebook via terminal to make the environment the default
jupyter notebook
- use the Conda tab to change environment to
anaconda37
if its not set. - write your code (see
db-connection.ipynb
example).
public url ec2-34-207-126-253.compute-1.amazonaws.com
tag name: Name:dw-timescale-db
for AWS Dashboard
If you want to ssh
into the system, you will need the .pem
file from me (luke), let me know if you want this key.
doesn't work.
docker-machine create \
--driver amazonec2 \
--amazonec2-ami ami-0ac019f4fcb7cb7e6 \
--amazonec2-instance-type t2.micro \
--amazonec2-vpc-id vpc-6d9c9314 \
--amazonec2-security-group sg-da6974a9 \
--amazonec2-tags Name,LukeBogacz,gwnetid,G36259008 \
--amazonec2-access-key \
--amazonec2-secret-key \
dw-timescale-db