1
0

Merge branch 'main' of github.com:silverbulletmd/silverbullet

This commit is contained in:
Zef Hemel 2022-07-11 09:08:28 +02:00
commit bd462e3d42
2 changed files with 14 additions and 3 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
2.7.18

View File

@ -53,7 +53,17 @@ Optionally you can use the `--port` argument to specify a HTTP port (defaults to
## Development
This Silver Bullet repo is a monorepo using npm's "workspaces" feature.
Requirements: node 16+ and npm 8+ as well as C/C++ compilers (for compiling SQLite, on debian/ubuntu style systems you get these via the `build-essential` package)
Requirements:
- node 18+ and npm 8+
- C/C++ compilers (for compiling SQLite, on debian/ubuntu style systems you get these via the `build-essential` package)
- python v2.7
> **Note**
> If you use nvm, you can just `nvm install` and it should use the right version
> **Note**
> On MacOs Monterey, python v2.7 is no longer shipped, if you install pyenv, you can `pyenv install` and it should use the right version
To run, after clone:
@ -81,7 +91,7 @@ Run these in separate terminals
# Runs ParcelJS in watch mode, rebuilding the server and webapp continuously on change
npm run watch
# Runs the silverbullet server
npm run server
npm run server -- <PATH-TO-YOUR-SPACE>
# Builds (and watches for changes) all builtin plugs (in packages/plugs)
npm run plugs -- <PATH-TO-YOUR-SPACE>
npm run plugs
```