Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
noSQL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mariana Molina Reyes
noSQL
Commits
d3a5c01d
Commit
d3a5c01d
authored
5 years ago
by
Mariana Molina Reyes
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
5450eedc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+22
-1
22 additions, 1 deletion
README.md
with
22 additions
and
1 deletion
README.md
+
22
−
1
View file @
d3a5c01d
...
...
@@ -19,4 +19,25 @@ Las pruebas las realizamos con Postman. Además de definir un conjunto de reques
## Ejecución
Para ejecutar el proyecto se debe correr el comando:
`node src/index.js`
\ No newline at end of file
`node src/index.js`
#Docker
## Requisitos
Para poder ejecutar Docker, es necesario tener instalado Docker y Docker-compose.
*
https://runnable.com/docker/getting-started/
*
https://docs.docker.com/compose/install/
## Ejecución
Ejecutar en la raíz del proyecto, como administrador:
$ sudo docker-compose up
Ahora la url de la api no es localhost, ahora va contra:
**172.18.0.3:3000**
.
En caso que
**no**
se asigne esta ip:
Ejecutar:
$ sudo docker ps -a
Obtener el CONTAINER ID del contenedor "nosql_nosql" y pegarlo en
<CONTAINER
ID
>
$ sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
<CONTAINER
ID
>
Esto despliega la ip donde se ejecuta el contenedor.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment