Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# developer Makefile for repeated tasks
#

.PHONY: clean

nb:
docker run -it --rm -p 8888:8888 -p 4000:4000 -v ${PWD}:/home/jovyan/work darribas/gds_dev:4.0

term:
docker run -it --rm -p 8888:8888 -p 4000:4000 -v ${PWD}:/home/jovyan/work darribas/gds_dev:4.0 sh -c "/bin/bash"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the official Jupyter stacks have a convenience script that drops you into a terminal by calling start.sh:

docker run -it --rm  -p 8888:8888 -p 4000:4000 -v ${PWD}:/home/jovyan/work darribas/gds_dev:4.0 start.sh



clean:
find . -name "*.pyc" -exec rm '{}' ';'
find pysal -name "__pycache__" -exec rm -rf '{}' ';'
rm -rf dist
rm -rf build
rm -rf PySAL.egg-info
rm -rf tmp