Skip to content

Commit

Permalink
insert documentacion
Browse files Browse the repository at this point in the history
  • Loading branch information
aomerge committed Jun 8, 2023
1 parent 0514b43 commit a468c53
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 29 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The calculator is an application that allows performing basic mathematical opera
1- Clone the project repository:

``` bash
git clone <REPOSITORY_URL>
git clone git@github.com:AG-9571/Calculator.git
```

2- Navigate to the project directory:
Expand All @@ -30,18 +30,16 @@ The calculator is an application that allows performing basic mathematical opera
``` bash
docker-compose up
```
5- dsmslmds
5- Make sure that the container is running correctly.
``` bash
docker ps
```

7- te mostarar los nombre del contenedor y hay podras tener mas aplicacion

6- inserta el nombre de del conrtenedor o id en el parametro <name-container>.
6- "Insert the name of the container or ID in the <name-container> parameter..
``` bash
docker exec -it <name-container> sh
```
7- dlaldsnlsd
7- Run the application in the sh terminal.
``` bash
npm run dev
```
Expand Down Expand Up @@ -73,4 +71,5 @@ http://localhost:4000
``

## licence
Esta aplicación está bajo la Licencia MIT. Para más información, consulta el archivo ``licence``.

77 changes: 54 additions & 23 deletions rules/index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator Terminal Rules</title>
<style>
body {
font-family: sans-serif;
background-color: #ffffff;
color: #000000;
}
</style>
<meta charset="UTF-8">
<title>Documentación de la Calculadora Terminal</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.5.0/dist/css/bootstrap.min.css">
</head>
<body>
<h1>Calculator Terminal Rules</h1>
<p>The calculator terminal is a powerful tool that can be used to perform calculations. However, there are some rules that you should follow when using the calculator terminal.</p>
<ul>
<li style="color:red;">Do not type any commands that you do not understand.</li>
<li style="color:orange;">Do not type any commands that could damage your computer.</li>
<li style="color:green;">Do not type any commands that could violate the privacy of others.</li>
</ul>
<p>If you have any questions about the calculator terminal, please consult the documentation or contact your system administrator.</p>

<body>
<div class="container mt-4">
<h1>Documentación de la Calculadora Terminal</h1>

<h2>Comandos</h2>
<ul>
<li><strong>1:</strong> Suma</li>
<li><strong>2:</strong> Resta</li>
<li><strong>3:</strong> Multiplicación</li>
<li><strong>4:</strong> División</li>
<li><strong>5:</strong> Potencia</li>
<li><strong>6:</strong> Raíz</li>
<li><strong>0:</strong> Salir de la terminal</li>
</ul>

<h2>Uso</h2>
<p>Para utilizar la calculadora en la terminal, sigue estos pasos:</p>
<ol>
<li>Abre la terminal o línea de comandos.</li>
<li>Ejecuta el programa de la calculadora.</li>
<li>Ingresa el número correspondiente al comando deseado:</li>
</ol>

<pre>
Ejemplo de uso:
Comando: 1
Primer número: 5
Segundo número: 3
</pre>

<h2>Ejemplos de Comandos</h2>
<pre>
Comando: 1
Primer número: 5 5 6
Resultado: 8

Comando: 4
Primer número: 10
Segundo número: 2
Resultado: 5
</pre>

<h2>Notas</h2>
<ul>
<li>Recuerda ingresar los números correctamente y seguir las instrucciones.</li>
<li>Si necesitas ayuda adicional, consulta la documentación o el manual del programa.</li>
</ul>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.5.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>

0 comments on commit a468c53

Please sign in to comment.