File tree 6 files changed +11
-10
lines changed
packages/cli/src/visualise
6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,12 @@ POSTGRES_PASSWORD=postgres
61
61
```
62
62
63
63
Let's break it down a bit. ` APP_NAME ` is used in various places, but most
64
- importantly it is the default name for your database, file bucket and logs. Then
65
- we have some PostgreSQL connection configuration, kept as simple as possible.
66
- For the S3 connection to Minio we don't need to configure anything. Compas
67
- provides a function to use the default connection settings in development. For
68
- production you should use one of the recommended ways as per the
64
+ importantly, it is the default name for your database, file bucket and logs.
65
+ Then we have some PostgreSQL connection configuration, kept as simple as
66
+ possible. For the S3 connection to Minio we don't need to configure anything.
67
+ Compas provides a function to use the default connection settings in
68
+ development. For production you should use one of the recommended ways as per
69
+ the
69
70
[ AWS SDK docs] ( https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html ) .
70
71
71
72
And lastly we need to install ` @compas/store ` :
Original file line number Diff line number Diff line change 1
1
NODE_ENV = development
2
- APP_NAME = exampletodo
2
+ APP_NAME = crud-simple-todo
3
3
4
4
POSTGRES_HOST = 127.0.0.1:5432
5
5
POSTGRES_USER = postgres
Original file line number Diff line number Diff line change 1
1
NODE_ENV = development
2
- APP_NAME = examplecrud
2
+ APP_NAME = crud
3
3
4
4
POSTGRES_HOST = 127.0.0.1:5432
5
5
POSTGRES_USER = postgres
Original file line number Diff line number Diff line change 1
1
NODE_ENV = development
2
- APP_NAME = defaultexp
2
+ APP_NAME = default
3
3
4
4
POSTGRES_HOST = 127.0.0.1:5432
5
5
POSTGRES_USER = postgres
Original file line number Diff line number Diff line change 1
1
NODE_ENV = development
2
- APP_NAME = withauth
2
+ APP_NAME = with-auth
3
3
4
4
POSTGRES_HOST = 127.0.0.1:5432
5
5
POSTGRES_USER = postgres
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export function formatGraphOfSql(codeGen, structure) {
15
15
const entities = codeGen . getQueryEnabledObjects ( { structure } ) ;
16
16
17
17
let src = `
18
- digraph ${ environment . APP_NAME } {
18
+ digraph " ${ environment . APP_NAME } " {
19
19
label = "label";
20
20
fontsize = 14;
21
21
rankdir = "TB";
You can’t perform that action at this time.
0 commit comments