Skip to content

Dockerize devito application#558

Merged
FabioLuporini merged 1 commit into
devitocodes:masterfrom
c-w:dockerize
May 2, 2018
Merged

Dockerize devito application#558
FabioLuporini merged 1 commit into
devitocodes:masterfrom
c-w:dockerize

Conversation

@c-w

@c-w c-w commented May 1, 2018

Copy link
Copy Markdown
Contributor

Paired with @navjotk

@codecov-io

codecov-io commented May 1, 2018

Copy link
Copy Markdown

Codecov Report

Merging #558 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #558   +/-   ##
=======================================
  Coverage   75.82%   75.82%           
=======================================
  Files          74       74           
  Lines        7021     7021           
  Branches     1427     1427           
=======================================
  Hits         5324     5324           
  Misses       1524     1524           
  Partials      173      173

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d93c002...099aa77. Read the comment docs.

@FabioLuporini FabioLuporini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this.

I'll ask for some beta-testing on Slack

Comment thread README.md
# get the code
git clone https://github.com/opesci/devito.git
cd devito
conda env create -f environment.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think both options should stay. Conda, in particular, should be the way to go for developers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would keep conda too.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, the introductory paragraph above only talks about conda

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sounds good. I've restored the previous README state.

Comment thread README.md
pip install -e .

# run tests
docker-compose run devito /tests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this assumes the presence of docker

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added a link to the Docker documentation.

@mloubout mloubout left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fine overall.
I still would prefer it to be added as an second option and keep the previous README as this one makes it look like Devito can only be run through Docker.

@FabioLuporini FabioLuporini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK, I'm happy now. I'd like to wait a bit for some feedback from any of our own users/developers to double check that this works as expected.

@FabioLuporini

Copy link
Copy Markdown
Contributor

People are confirming that this does work as expected. @navjotk @mloubout @ggorman any other comments?

@navjotk

navjotk commented May 2, 2018

Copy link
Copy Markdown
Contributor

I like it. Waiting for @mloubout to update his review.

@FabioLuporini

Copy link
Copy Markdown
Contributor

Cool, merging.

@FabioLuporini FabioLuporini merged commit 9a7fc91 into devitocodes:master May 2, 2018
@FabioLuporini

Copy link
Copy Markdown
Contributor

Merged.

@c-w c-w deleted the dockerize branch May 2, 2018 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants