create-directus-docker 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
  3. package/src/cli.js +1 -1
package/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  A quick-start installer and launcher for Docker compose, containing Directus with MySQL, an Adminer UI for managing the database, and a GraphiQL playground. Plus a helper app to walk you through initializing environment variables and launching all services.
4
4
 
5
+ ## Requirements
6
+
7
+ You need [Docker](https://www.docker.com) and [Node](https://nodejs.org) installed on your machine:
8
+
9
+ - [Install Docker Desktop](https://www.docker.com/products/docker-desktop/)
10
+ - [Install Node](https://nodejs.org/en/download/)
11
+
5
12
  ## Installation & Usage
6
13
 
7
14
  ```bash
@@ -24,13 +31,6 @@ Directus CMS: http://localhost:8055
24
31
  Adminer (for MySQL): http://localhost:8080
25
32
  GraphQL Playground: http://localhost:4000/graphql
26
33
 
27
- ## Requirements
28
-
29
- You need [Docker](https://www.docker.com) and [Node](https://nodejs.org) installed on your machine:
30
-
31
- - [Install Docker Desktop](https://www.docker.com/products/docker-desktop/)
32
- - [Install Node](https://nodejs.org/en/download/)
33
-
34
34
  ## Starting/stopping with Docker Compose
35
35
 
36
36
  To **stop** your running containers, simply run either `npm run stop` or `docker compose down` from within the project directory. All containers will be stopped.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-directus-docker",
3
3
  "description": "An installer for Dockerized Directus + MySQL + Adminer + GraphiQL with a helper Node app",
4
- "version": "1.2.8",
4
+ "version": "1.3.0",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Dave Kobrenski",
package/src/cli.js CHANGED
@@ -15,7 +15,7 @@ create('create-directus-docker', {
15
15
  return `
16
16
  ${chalk.bold.yellowBright("Directus with MySQL, Adminer, and GraphiQL:")}
17
17
 
18
- To configure and run your Directus services, run:
18
+ To configure and run your Directus services, first ${chalk.bold("make sure you have Docker installed and running")}, then run:
19
19
 
20
20
  ${chalk.gray('1.')} cd ${chalk.bold.green(packageDir)}
21
21
  ${chalk.gray('2.')} npm install