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
Copy file name to clipboardExpand all lines: DEPLOYING.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ BioAPI uses three genomic databases for its operation. These databases must be l
36
36
37
37
To import all databases in MongoDB:
38
38
39
-
1. Download the "bioapi_db.gz" from **[here](https://drive.google.com/file/d/1LU8KwP1pBBF12H97AQkGrrUTSko7HvLQ/view?usp=sharing)** and move it a directory called `import_files`.
39
+
1. Download the "bioapi_db-1.2.0.gz" from **[here](https://drive.google.com/file/d/1wK8avSQmcoK47ttrZ8wqq3UVWgk5q4vE/view?usp=sharing)** and move it a directory called `import_files`.
40
40
2. Shutdown all the services running `docker compose down`
41
41
3. Edit the `docker-compose.dev.yml` file to include the downloaded file inside the container:
42
42
```yml
@@ -49,17 +49,17 @@ To import all databases in MongoDB:
49
49
- /path/to/import_files:/import_files
50
50
# ...
51
51
```
52
-
Where "/path/to/" is the absolute path of the "bioapi_db.gz" file downloaded on step 1. **Note:** in Windows It could happen that the file is not correctly mounted inside the container, that's why you need to move the file to a directory like `import_files`, and bind mount that folder instead of the file.
52
+
Where "/path/to/" is the absolute path of the "bioapi_db-1.2.0.gz" file downloaded on step 1. **Note:** in Windows It could happen that the file is not correctly mounted inside the container, that's why you need to move the file to a directory like `import_files`, and bind mount that folder instead of the file.
53
53
54
54
4. Start up the services again running `docker compose -f docker-compose.dev.yml up -d`
55
55
5. Go inside the container `docker container exec -it bio_api_mongo_db bash`
Where *\<user\>*, *\<pass\>* are the preconfigured credentials to MongoDB in the `docker-compose.yml` file. *bioapi_db.gz* is the file downloaded in the previous step. **Keep in mind that this loading process will import approximately *47 GB* of information into MongoDB, so it may take a while**.
62
+
Where *\<user\>*, *\<pass\>* are the preconfigured credentials to MongoDB in the `docker-compose.yml` file. *bioapi_db-1.2.0.gz* is the file downloaded in the previous step. **Keep in mind that this loading process will import approximately *47 GB* of information into MongoDB, so it may take a while**.
63
63
64
64
7. Stop services with the command`docker compose -f docker-compose.dev.yml down`
65
65
8. Rollup the changes in`docker-compose.dev.yml` file to remove the backup file from the `volumes` section.
@@ -156,9 +156,9 @@ Finally, if you want to create a new image of MongoDB data, you can follow the f
0 commit comments