Skip to content

alercebroker/mongo-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongo tutorial for ALeRCE

Tutorial for (py)mongo, geared towards ALeRCE users.

Set up

To install all dependencies needed for this tutorial run,

pip install -r requirements.txt

To set up the database we'll be using during the tutorial, you'll need to install docker compose.

To run the container, use:

docker compose up -d

Note: If you have an old version of docker compose, the above command might need to be replaced by:

docker-compose up -d

Loading data

There are scripts that will load data into the database (used from module 2 onwards). To insert all the data run the following (while the docker container is running):

python scripts/populate.py

Start the tutorial

To start the tutorial, run:

jupyter-lab

A browser tab should be opened and from there you can navigate to the tutorial folder, where the notebooks are sorted from first to last module.

About

Tutorial for (py)mongo, geared towards ALeRCE users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •