Copy of github.com/askrobots/network-computer (MIT): a desk you reach from anything. The original lives on GitHub.

2 downloads

network-computer/provision/build-tools.sh
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/demo/network-computer.git
HTTPS
https://gitstable.com/git/demo/network-computer.git
SSH
ssh://git@gitstable.com:2222/demo/network-computer.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

GitStable demo README: say this is a copy and where the original is cde82c2 13 hours, 36 minutes ago History
build-tools.sh · 1.4 KB · 34 lines
1#!/bin/sh
2# Turn a provisioned host into a Linux build + test box for the dbbasic projects.
3# Idempotent. Run after apply.sh (or standalone on any Ubuntu 24.04 box).
4# Adds: Flutter (+ Linux desktop build deps), Go, Node, Python, and Xvfb so GUI
5# apps can be tested headlessly. The streamed desktop (nc-host) can also run them
6# visually.
7set -e
8export DEBIAN_FRONTEND=noninteractive
9
10echo ">> Flutter Linux desktop build deps"
11apt-get update -q
12apt-get install -y -q \
13 clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev \
14 xvfb x11-utils \
15 nodejs npm \
16 python3 python3-pip python3-venv \
17 unzip curl git
18
19echo ">> Go (if not already present from apply.sh)"
20command -v go >/dev/null || { echo "run provision/apply.sh first for Go, or install go"; }
21
22echo ">> Flutter SDK -> /opt/flutter"
23if [ ! -d /opt/flutter ]; then
24 git clone --depth 1 -b stable https://github.com/flutter/flutter.git /opt/flutter
25fi
26export PATH="/opt/flutter/bin:$PATH"
27grep -q '/opt/flutter/bin' /etc/profile.d/flutter.sh 2>/dev/null || \
28 echo 'export PATH="/opt/flutter/bin:$PATH"' > /etc/profile.d/flutter.sh
29git config --global --add safe.directory /opt/flutter
30flutter config --enable-linux-desktop >/dev/null 2>&1 || true
31flutter --version | head -1
32echo
33echo "build box ready. Use scripts/build-linux.sh from a project checkout, or"
34echo "run one app headlessly: xvfb-run -a flutter test"