1
0

Add Gitpod support

This commit is contained in:
Ben Schumacher 2022-09-24 12:38:58 +00:00
parent b35c60ee60
commit 081ef01ad7
2 changed files with 39 additions and 0 deletions

36
.gitpod.yml Normal file
View File

@ -0,0 +1,36 @@
ports:
- port: 3000
name: Silverbullet
onOpen: open-browser
visibility: public
github:
prebuilds:
master: true
pullRequests: true
tasks:
- name: Setup
init: |
nvm install
nvm use
npm install
npm run clean-build
gp sync-done setup
exit
- name: Run Silverbullet server
init: |
gp sync-await setup
nvm use
mkdir pages
command: npm run server -- ./pages
- name: Run ParcelJS
init: |
gp sync-await setup
nvm use
command: npm run watch
- name: Build plugins
init: |
gp sync-await setup
nvm use
command: npm run plugs

View File

@ -37,6 +37,9 @@ Once downloaded and booted, SB will print out a URL to open SB in your browser (
#protip: If you have a PWA enabled browser (like any browser based on Chromium) hit that little button right of the location bar to install SB, and give it its own window frame (sans location bar) and desktop/dock icon. At last the PWA has found its killer app. #protip: If you have a PWA enabled browser (like any browser based on Chromium) hit that little button right of the location bar to install SB, and give it its own window frame (sans location bar) and desktop/dock icon. At last the PWA has found its killer app.
## Developing Silver Bullet ## Developing Silver Bullet
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/https://github.com/silverbulletmd/silverbullet)
Silver Bullet is written in [TypeScript](https://www.typescriptlang.org/) and built on top of the excellent [CodeMirror 6](https://codemirror.net/) editor component. Additional UI is built using React.js. [ParcelJS](https://parceljs.org/) is used to build both the front-end and back-end bundles. The server backend runs as a HTTP server on node.js using express. Silver Bullet is written in [TypeScript](https://www.typescriptlang.org/) and built on top of the excellent [CodeMirror 6](https://codemirror.net/) editor component. Additional UI is built using React.js. [ParcelJS](https://parceljs.org/) is used to build both the front-end and back-end bundles. The server backend runs as a HTTP server on node.js using express.
This repo is a monorepo using npm's "workspaces" feature. It consists of a number of npm packages under `packages`. This repo is a monorepo using npm's "workspaces" feature. It consists of a number of npm packages under `packages`.