Skip to content

Commit

Permalink
Add make command for setting up analysis repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Mar 12, 2024
1 parent 609e52c commit 5740f41
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ dev.test:
dev.test.only:
pytest -s --create-db --looponfail -m only -v --ds=greenweb.settings.testing

# start a marimo notebook session
notebook.gitpod:

# checkout our data analysis repo
git clone https://github.com/thegreenwebfoundation/data-analysis.git
data_analysis_repo:
if test -d data-analysis; \
then echo "data-analysis repo already checked out"; \
else git clone https://github.com/thegreenwebfoundation/data-analysis.git; \
fi

# start a marimo notebook session
notebook.gitpod: data_analysis_repo
# set up our start notebook with django initialised ready for queries
marimo edit data-analysis/starter-notebook.py

Expand Down

0 comments on commit 5740f41

Please sign in to comment.