generated from Arquisoft/lomap_0
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a7549c
commit ce5ae00
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,8 @@ In this version we deploy the app locally without docker. In order to solve the | |
1) Go into our `restapi` folder. | ||
2) You will see a file called `.env_sample` with this content | ||
```bash | ||
DATABASE_URL = mongodb+srv://<username>:<password>@lomapes6b.qrix8pk.mongodb.net/test | ||
3) You will have to create in your repository your own file called `.env`, with the same content showed above, but updated with your MongoDb access data. (Without the <> symbols) If you don´t have access yet, contact us. | ||
DATABASE_URL = mongodb+srv://username:[email protected]/test | ||
3) You will have to create in your repository your own file called `.env`, with the same content showed above, but updated with your MongoDb access data. If you don´t have access yet, contact us. | ||
|
||
4) Now, open one terminal, compile and run `restapi`. If everything went well, you will read *database connected*. | ||
```shell | ||
|