Skip to content

Commit 88f8d13

Browse files
committed
Fix stuff
1 parent d15e6d7 commit 88f8d13

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

pgml-dashboard/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM rust:1
22
RUN cargo install sqlx-cli
33
RUN apt-get update && apt-get install -y nodejs npm
4-
RUN npm install -g sass
4+
RUN npm install -g sass rollup
5+
RUN cargo install cargo-pgml-components
56
COPY . /app
67
WORKDIR /app

pgml-dashboard/content/docs/guides/setup/v2/installation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ python3
279279
python3-pip
280280
libpython3
281281
lld
282+
mold
282283
```
283284

284285
##### Rust
@@ -352,18 +353,19 @@ cargo sqlx database setup
352353

353354
### Frontend dependencies
354355

355-
The dashboard frontend is using Sass which requires Node & the Sass compiler. You can install Node from Brew, your package repository, or by using [Node Version Manager](https://github.com/nvm-sh/nvm).
356+
The dashboard frontend is using Sass and Rollup, which require Node. You can install Node from Brew, your package repository, or by using [Node Version Manager](https://github.com/nvm-sh/nvm).
356357

357358
If using nvm, you can install the latest stable Node version with:
358359

359360
```bash
360361
nvm install stable
361362
```
362363

363-
Once you have Node installed, you can install the Sass compiler globally:
364+
Once you have Node installed, you can install the remaining requirements globally:
364365

365366
```bash
366-
npm install -g sass
367+
npm install -g sass rollup
368+
cargo install cargo-pgml-components
367369
```
368370

369371
### Compile and run

pgml-dashboard/src/components/modal/modal.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@
2424
.modal-header {
2525
border: none;
2626
}
27+
28+
.input-group {
29+
width: 100%;
30+
}
2731
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy