Skip to content
Open
Changes from all 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
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,18 @@ stop:
# Build the static site for production
build:
yarn website:build
just update-installer

# Serve the production build on port 80
serve:
yarn website:serve -- --port 80 --host 0.0.0.0

# Pull the latest install script from GitHub into static assets and build output
update-installer:
curl -fsSL https://raw.githubusercontent.com/merchantprotocol/protocol/master/bin/install -o website/static/install.sh
cp website/static/install.sh website/build/install.sh 2>/dev/null || true
@echo "install.sh updated"

# Clean build artifacts and Docusaurus cache
clean:
cd website && rm -rf build .docusaurus
Expand Down