Tutorial for (py)mongo, geared towards ALeRCE users.
To install all dependencies needed for this tutorial run,
pip install -r requirements.txtTo 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 -dNote: If you have an old version of docker compose, the above command might need to be replaced by:
docker-compose up -dThere 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.pyTo start the tutorial, run:
jupyter-labA 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.