1
0

Switched to npm workspace

This commit is contained in:
Zef Hemel 2022-04-21 15:04:37 +02:00
parent 1a3ae65ccb
commit c92f945982

View File

@ -1,7 +1,35 @@
# Silverbullet
# Silver Bullet
Install latest yarn:
Mono repo using npm workspaces.
To install, after clone:
```shell
yarn set version stable
# The path for pages, hardcoded for `npm run server`
mkdir -p pages
# Install dependencies
npm install
# Run initial build (web app, server, etc.)
npm run build
# Again, to install the CLIs just built
npm install
# Build plugs (ctrl-c after done, it's watching)
npm run plugs
# Symlink in the default set of plugs into your space
cd pages
ln -s ../packages/plugs/dist _plug
cd ..
# Launch server
npm run server
```
Open at http://localhost:3000
General development workflow:
```shell
# Run these in separate terminals
npm run watch
npm run server
npm run plugs
```