|
1 | 1 | # 🚀 Launchpad
|
2 | 2 |
|
3 |
| -Launchpad is a suite of tools to manage media installations. In a typicla usecase, it bootstraps up your Windows PC, downloads and caches CMS content and then launches and monitors your apps. It can: |
| 3 | +Launchpad is a highly configurable suite of tools to manage media installations. It can: |
4 | 4 |
|
5 |
| -- Launch, control and monitor muiltiple processes (via PM2) |
| 5 | +- Launch, control and monitor muiltiple processes (via [PM2](https://pm2.keymetrics.io/)) |
6 | 6 | - Download and locally cache content from various common web APIs
|
7 |
| -- Bootstrap PCs running Windows 8/10/11 with common exhibit settings |
| 7 | +- Bootstrap Windows PCs with common exhibit settings |
8 | 8 | - Consolidate and route application logs
|
9 |
| -- [...and many more things](#more-features) |
| 9 | + |
| 10 | +[...and many more things](#documentation) |
10 | 11 |
|
11 | 12 | 
|
12 | 13 |
|
13 | 14 | ## Getting Started
|
14 | 15 |
|
15 |
| -1. Install: `npm i @bluecadet/launchpad` |
16 |
| -2. Create a `launchpad.json` config (see [#Configuration](#Configuration)) |
| 16 | +A typical setup will use launchpad as a node dependency, configure it via a `launchpad.json` file and run `npx launchpad` via a startup task (e.g. Windows Task Scheduler): |
| 17 | + |
| 18 | +1. Install launchpad: **`npm i @bluecadet/launchpad`** |
| 19 | +2. Create a **`launchpad.json`** config (see [configuration](#configuration)) |
17 | 20 | 3. *Optional: Bootstrap your PC with `npx launchpad scaffold`*
|
18 |
| -4. Run `npx launchpad` |
| 21 | +4. Run **`npx launchpad`** |
19 | 22 |
|
20 | 23 | Type `npx launchpad --help` for all available commands.
|
21 | 24 |
|
22 | 25 | *Launchpad can also be installed globally via `npm i -g @bluecadet/launchpad` and called via `launchpad` instead of `npx launchpad`.*
|
23 | 26 |
|
24 | 27 | ## Configuration
|
25 | 28 |
|
26 |
| -Each [launchpad package](#packages) needs its own config section in `launchpad.json`. |
27 |
| - |
28 |
| -### Example |
29 |
| - |
30 |
| -A simple `launchpad.json` example to download content from Flickr and launch a single app: |
| 29 | +Each [launchpad package](#packages) is configured via its own section in `launchpad.json`. Below is a simple example that uses the [`content`](/packages/content) package to download JSON and images from Flickr and the [`monitor`](/packages/monitor) to launch a single app: |
31 | 30 |
|
32 | 31 | ```json
|
33 | 32 | {
|
@@ -58,18 +57,18 @@ A simple `launchpad.json` example to download content from Flickr and launch a s
|
58 | 57 |
|
59 | 58 | ### Documentation
|
60 | 59 |
|
61 |
| -For a full list of configuration options, review the documentation below: |
| 60 | +All available config settings across packages can be found in the links below: |
62 | 61 |
|
63 |
| -- [`monitor`](/packages/monitor/README.md): Run and monitor apps |
64 |
| -- [`content`](/packages/content/README.md): Download and cache remote content |
| 62 | +- [**`monitor`**](/packages/monitor/README.md): Run and monitor apps |
| 63 | +- [**`content`**](/packages/content/README.md): Download and cache remote content |
65 | 64 | - `sources`: An array containing one or more of the following content source options:
|
66 | 65 | - [`airtable`](/packages/content/docs/airtable-source.md): Download content from Airtable
|
67 | 66 | - [`contentful`](/packages/content/docs/contentful-source.md): Download content from Contentful
|
68 | 67 | - [`json`](/packages/content/docs/json-source.md): Download content from JSON endpoints
|
69 | 68 | - [`strapi`](/packages/content/docs/strapi-source.md): Download content from Strapi
|
70 | 69 | - [`sanity`](/packages/content/docs/sanity-source.md): Download content from Sanity
|
71 |
| -- [`logging`](/packages/launchpad/docs/logging.md): Route logs to the console and to files |
72 |
| -- [`hooks`](/packages/launchpad/docs/hooks.md): Execute scripts before or after common events (e.g. after content has been updated) |
| 70 | +- [**`logging`**](/packages/launchpad/docs/logging.md): Route logs to the console and to files |
| 71 | +- [**`hooks`**](/packages/launchpad/docs/hooks.md): Execute scripts before or after common events (e.g. after content has been updated) |
73 | 72 |
|
74 | 73 | ### Config Loading
|
75 | 74 |
|
|
0 commit comments