-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor into multiples images based on jupyter/minimal-notebook (#254)
* Major revision that refactors the previous single image into a base and a lab image, where the former contains only AiiDA and the latter adds the AiiDAlab related software. * The PGSQL and RabbitMQ services are expected to be started in separate containers, e.g., with docker-compose. * There is only a single Python environment with shared dependencies, unlike the previous separation with one environment for the Jupyter server and the other one for the AiiDA Python kernels. * Some requirements, e.g., the installed AiiDA version are pinned for both conda/mamba and pip to prevent the user from inadvertently breaking the environment; the user can override this or alternatively create a dedicated environment. * Add tests that are implemented with pytest. * Common repository tasks such as building the stack, running tests, and starting a lab server can be run with pydoit. * Supports Python 3.9.2 and AiiDA 2.0.0. Co-authored-by: Aliaksandr Yakutovich <yakutovicha@gmail.com>
- Loading branch information
1 parent
b53bc67
commit dd536c6
Showing
32 changed files
with
758 additions
and
367 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -275,3 +275,4 @@ submit_test | |
|
||
# Custom. | ||
Pipfile.lock | ||
.doit* |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.