Add Cannonical Workshop to make building and iteration easier on modern operating systems
This commit is contained in:
1
.workshop.lock
Normal file
1
.workshop.lock
Normal file
@@ -0,0 +1 @@
|
||||
7be62bc9
|
||||
10
.workshop/build.yaml
Normal file
10
.workshop/build.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: build
|
||||
base: ubuntu@24.04
|
||||
|
||||
sdks:
|
||||
- name: node
|
||||
channel: 20/stable
|
||||
# project requires node 20 and yarn to build so we install them here
|
||||
actions:
|
||||
setup: |
|
||||
npm install -g yarn@1
|
||||
28
.workshop/dev.yaml
Normal file
28
.workshop/dev.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: dev
|
||||
base: ubuntu@24.04
|
||||
|
||||
sdks:
|
||||
- name: opencode
|
||||
channel: 1/stable
|
||||
plugs:
|
||||
hostsvc:
|
||||
interface: tunnel
|
||||
endpoint: localhost:1234
|
||||
- name: node
|
||||
channel: 20/stable
|
||||
- name: system
|
||||
plugs:
|
||||
datasets:
|
||||
interface: mount
|
||||
workshop-target: /home/workshop/.config/opencode.json
|
||||
slots:
|
||||
hostsvc:
|
||||
interface: tunnel
|
||||
endpoint: localhost:1234 # LM Studio
|
||||
# project requires node 20 and yarn to build so we install them here
|
||||
actions:
|
||||
setup: |
|
||||
npm install -g yarn@1
|
||||
echo "export OPENCODE_PERMISSIONS__BASH=allow" >> /home/workshop/.bashrc
|
||||
echo "export OPENCODE_PERMISSIONS__WRITE=allow" >> /home/workshop/.bashrc
|
||||
echo "export OPENCODE_PERMISSIONS__READ=allow" >> /home/workshop/.bashrc
|
||||
Reference in New Issue
Block a user