diff --git a/images/silverbullet1.png b/images/silverbullet1.png new file mode 100644 index 00000000..48b974aa Binary files /dev/null and b/images/silverbullet1.png differ diff --git a/package.json b/package.json index 2bebe3d8..13317d78 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "license": "MIT", "scripts": { - "watch": "rm -rf .parcel-cache && parcel watch --no-hmr packages/{web,server,plugos,plugs} desktop", + "watch": "rm -rf .parcel-cache && parcel watch --no-hmr packages/{web,server,plugos,plugs}", "clean": "rm -rf .parcel-cache packages/*/dist", "nuke": "rm -rf node_modules && npm run clean", "build": "parcel build packages/{web,server,plugos}", diff --git a/packages/server/express_server.ts b/packages/server/express_server.ts index b95c9557..4c7466a7 100644 --- a/packages/server/express_server.ts +++ b/packages/server/express_server.ts @@ -236,7 +236,7 @@ export class ExpressServer { allPlugs = this.space.listPlugs(); } await this.system.unloadAll(); - console.log("Reloading plugs"); + console.log("Loading plugs"); for (let pageInfo of allPlugs) { let { text } = await this.space.readPage(pageInfo.name); await this.system.load(JSON.parse(text), createSandbox); @@ -261,7 +261,6 @@ export class ExpressServer { await ensureTable(this.db); await ensureFTSTable(this.db, "fts"); await this.ensureIndexPage(); - console.log("Setting up router"); let auth = new Authenticator(this.db); @@ -430,7 +429,10 @@ export class ExpressServer { this.server = http.createServer(this.app); this.server.listen(this.port, () => { - console.log(`Server listening on port ${this.port}`); + console.log( + `Silver Bullet is now running: http://localhost:${this.port}` + ); + console.log("--------------"); }); } diff --git a/packages/server/server.ts b/packages/server/server.ts index bd38718b..a632e067 100755 --- a/packages/server/server.ts +++ b/packages/server/server.ts @@ -29,11 +29,11 @@ const port = args.port; const webappDistDir = realpathSync( `${nodeModulesDir}/node_modules/@silverbulletmd/web/dist` ); -console.log("Webapp dist dir", webappDistDir); +// console.log("Webapp dist dir", webappDistDir); const plugDistDir = realpathSync( `${nodeModulesDir}/node_modules/@silverbulletmd/plugs/dist` ); -console.log("Builtin plug dist dir", plugDistDir); +// console.log("Builtin plug dist dir", plugDistDir); const expressServer = new ExpressServer({ port: port,