Skip to content

Commit

Permalink
remove references to docs/pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Jul 15, 2020
1 parent 84f67d8 commit de6b9a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ This does not use the nitpick exception and will ensure that the documentation c

When writing tutorial content that demonstrates interaction with AiiDA, it may be desirable to write and test this in a reproducible environment.
In the root of this project, the `docker-compose.yml` provides one way to achieve this, by configuring and starting up a Docker container (naturally this requires you to have installed [Docker](https://www.docker.com/)).
The container initialises an AiiDA environment, exposes ports for you to access locally, and mounts the `./docs/pages/` inside the container.
The container initialises an AiiDA environment, exposes ports for you to access locally, and mounts the `./docs/source/` inside the container.

To change what python packages are installed, alter `.docker/aiida-environment.yml`.
Also, if you place an AiiDA archive at `./docs/pages/archive.aiida`, this will be imported on startup.
Also, if you place an AiiDA archive at `./docs/source/archive.aiida`, this will be imported on startup.

To start the container and wait for it to initialise:

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: '3'
services:
aiida:
build: .docker/
image: "aiidateam/aiida-core-nb:stable"
image: "aiidateam/aiida-core-nb:latest"
container_name: aiida-core
expose:
- "5432" # postgres
Expand All @@ -18,4 +18,4 @@ services:
- 5000:5000
- 8888:8888
volumes:
- "./docs/pages:/tmp/mount_folder"
- "./docs/source:/tmp/mount_folder"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de6b9a3

Please sign in to comment.