Skip to content

Commit

Permalink
Merge pull request #103 from ISPC-Bookster/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JuanPSuarez committed Jun 5, 2024
2 parents e20e1aa + 7b77ba4 commit c7cf1ef
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN npm install

EXPOSE 4200

CMD ["npm", "start", "--", "--host", "0.0.0.0"]
CMD ["npm", "start"]
4 changes: 2 additions & 2 deletions Frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json",
"start": "ng serve --host 0.0.0.0 --port 4200 --proxy-config proxy.conf.json",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
Expand Down Expand Up @@ -40,4 +40,4 @@
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.4.2"
}
}
}
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Puntos claves:
Clone the project

```bash
git clone https://github.com/LibrotekaISPC2023/Libroteka
git clone https://github.com/LibrotekaISPC2023/Libroteka.git
```

Go to the project directory
Expand Down Expand Up @@ -71,7 +71,7 @@ Start the server
Clone the project

```bash
git clone https://github.com/LibrotekaISPC2023/Libroteka
git clone https://github.com/LibrotekaISPC2023/Libroteka.git
```

Go to the project directory
Expand Down Expand Up @@ -103,3 +103,38 @@ Start the server
</tr>
</table>

<table>
<tr>
<th> Docker <br> (Optional) </th>
<td>
Clone the project

```bash
git clone https://github.com/LibrotekaISPC2023/Libroteka.git
```

Go to the project directory

```bash
cd Frontend
```

Install dependencies

```bash
npm install
```

Go back and Start the Docker Compose

```bash
cd ..
```
```bash
sudo docker compose up --build
```
</td>
</tr>
</table>
<table>

0 comments on commit c7cf1ef

Please sign in to comment.