Skip to content

Commit fd0911a

Browse files
authored
Updated link and link of bioapi_db-1.2.0.gz
1 parent 414f770 commit fd0911a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

DEPLOYING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ BioAPI uses three genomic databases for its operation. These databases must be l
3636
3737
To import all databases in MongoDB:
3838
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`.
4040
2. Shutdown all the services running `docker compose down`
4141
3. Edit the `docker-compose.dev.yml` file to include the downloaded file inside the container:
4242
```yml
@@ -49,17 +49,17 @@ To import all databases in MongoDB:
4949
- /path/to/import_files:/import_files
5050
# ...
5151
```
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.
5353

5454
4. Start up the services again running `docker compose -f docker-compose.dev.yml up -d`
5555
5. Go inside the container `docker container exec -it bio_api_mongo_db bash`
5656
6. Use Mongorestore to import it into MongoDB:
5757

5858
```bash
59-
mongorestore --username <user> --password <pass> --authenticationDatabase admin --gzip --archive=/import_files/bioapi_db.gz
59+
mongorestore --username <user> --password <pass> --authenticationDatabase admin --gzip --archive=/import_files/bioapi_db-1.2.0.gz
6060
```
6161

62-
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**.
6363

6464
7. Stop services with the command `docker compose -f docker-compose.dev.yml down`
6565
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
156156
5. Use mongodump to export the data to a file:
157157
158158
```bash
159-
mongodump --username <user> --password <pass> --authenticationDatabase admin --host localhost --port 27017 --gzip --db bio_api --archive=/export_data/bioapi_db.gz
159+
mongodump --username <user> --password <pass> --authenticationDatabase admin --host localhost --port 27017 --gzip --db bio_api --archive=/export_data/bioapi_db-1.2.0.gz
160160
```
161161
162162
**NOTE**: The process can take a few hours
163163
164-
The new image can be found in *"/path/in/your/computer/bioapi_db.gz"*
164+
The new image can be found in *"/path/in/your/computer/bioapi_db-1.2.0.gz"*

0 commit comments

Comments
 (0)