Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ jobs:
with:
dotnet-version: 8.0.x

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
working-directory: src/ui

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Restore dependencies
run: dotnet restore

Expand Down
4 changes: 2 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building

Git Clone, Open folder in VSCode, it'll ask to install dependencies, click yes, you'll need to install .NET SDK 8.0 as well then type into the terminal:
Git Clone, open the folder in VSCode and install dependencies when prompted. You will need to install the .NET SDK 8.0 and Node.js 20. Install pnpm globally using `npm install -g pnpm` then type into the terminal:

`dotnet watch --project src`

Expand All @@ -10,4 +10,4 @@ While developing you use vite as your webserver and it proxies /api and /ws to t

On deployment it's the opposite, the dotnet server runs and serves up precompiled html and js files.

Join us on discord for development talk: [https://discord.gg/jbqmn7V6n6]
Join us on discord for development talk: [https://discord.gg/jbqmn7V6n6]
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y ca-certificates curl gnupg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install -y nodejs && \
npm install -g pnpm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
Loading
Loading