You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to parse raw data and create database from scratch, please follow the [guideline](./create-db-from-scratch.md) instead of running the above two commands.
129
-
6. Once databases are loaded, we won't need to touch this container anymore:
130
-
```sh
131
-
exit
132
-
```
102
+
### 3. Get a shell into the postgres container
103
+
104
+
```sh
105
+
docker compose -p postgres exec postgres bash
106
+
```
107
+
108
+
### 4. Load database dumps
109
+
110
+
If you have enough space to uncompress all datasets you have downloaded locally in the `data` folder, run this script:
111
+
112
+
```sh
113
+
./scripts/load_dumps.sh
114
+
```
115
+
116
+
If you have limited space and want to load databases one by one, do:
If you want to parse raw data and create database from scratch, please follow the [guideline](./create-db-from-scratch.md) instead of running the above two commands.
124
+
125
+
Once databases are loaded, we won't need to touch this container anymore:
126
+
127
+
```sh
128
+
exit
129
+
```
133
130
134
131
## Get into the PIDSMaker container
135
132
136
133
It is within the `pids` container that coding and experiments take place.
137
134
138
-
1. For VSCode users, we recommend using the [dev container](https://code.visualstudio.com/docs/devcontainers/create-dev-container) extension to directly open VSCode in the container. To do so, simply install the extension, then ctrl+shift+P and <i>Dev Containers: Open Folder in Container</i>.
135
+
### 1. VSCode Devcontainer approach
139
136
140
-
2. The other alternative is to load the container manually and open a shell directly in your terminal.
141
-
```sh
142
-
docker compose -f compose-pidsmaker.yml up -d --build
143
-
docker compose exec pids bash
144
-
```
137
+
138
+
For VSCode users, we recommend using the [dev container](https://code.visualstudio.com/docs/devcontainers/create-dev-container) extension to directly open VSCode in the container. To do so, simply install the extension, then ctrl+shift+P and <i>Dev Containers: Open Folder in Container</i>.
139
+
140
+
141
+
### 2. Manual approach
142
+
143
+
The other alternative is to load the container manually and open a shell directly in your terminal.
144
+
145
+
```sh
146
+
docker compose -f compose-pidsmaker.yml up -d --build
147
+
docker compose exec pids bash
148
+
```
145
149
146
150
It's in this container that the python env is installed and where the framework will be used.
0 commit comments