-
Notifications
You must be signed in to change notification settings - Fork 26
Docker, Jp notebook configurations #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bac9d4e
update makefile to make graph-tool nb
kuanb c23ac2b
udpate fiona version
kuanb c1b1b01
jupyter notebook configuration
kuanb 5d9f120
update the docker configuration for jupyter
kuanb dab2620
docker clean step
kuanb 4470137
update port configuation for notebook
kuanb c987803
whole build script for the Docker image
kuanb 25ba10d
add jupyter reqs, separate out base from rest of Dockerfile
kuanb 2245e73
update gcc51 on edsri gdb to address gdal compile issues
kuanb ea45bdd
now refer to new Docker base image
kuanb 9a4c0ef
get dollar sign in
kuanb a202d21
update deps
kuanb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| FROM calthorpeanalytics/python3-geo:3.6.3-1.0.0 | ||
|
|
||
| RUN mkdir -p /provisioning/peartree | ||
| COPY . /provisioning/peartree | ||
|
|
||
| # can now install Peartree via repo | ||
| RUN cd /provisioning/peartree && \ | ||
| pip install . | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,10 @@ | ||
| test: | ||
| it test: | ||
| PYTHONPATH=. MPLBACKEND="agg" coverage run --source peartree -m py.test --verbose | ||
|
|
||
| performance: | ||
| PYTHONPATH=. MPLBACKEND="agg" pytest profiler/test_graph_assembly.py -s | ||
| PYTHONPATH=. MPLBACKEND="agg" pytest profiler/test_graph_assembly.py -s | ||
|
|
||
| notebook: | ||
| docker pull tiagopeixoto/graph-tool | ||
| # Will need to then run this: jupyter notebook --ip 0.0.0.0 | ||
| docker run -p 8888:8888 -p 6006:6006 -it -u user -w /home/user tiagopeixoto/graph-tool bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
|
|
||
| version: "1" | ||
|
|
||
| services: | ||
|
|
||
| # Jupyter Notebook | ||
| notebook: | ||
| build: | ||
| context: . | ||
| env_file: .env | ||
| command: jupyter notebook --config jupyter_notebook_config.py | ||
| volumes: | ||
| - .:/code | ||
| - /tmp:/tmp | ||
| ports: | ||
| - "9898:9898" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to update this to use a publicly accessible image (!). Basically, same as the one I created and submitted here: UDST/urbanaccess#18