Browse Source

Changement du nom de l'application Amber en "carnetdejeu"

master
Olivier DOSSMANN 10 months ago
parent
commit
ce890c07fd

+ 1
- 1
config/application.cr View File

@@ -125,7 +125,7 @@ Amber::Server.configure do |settings|
125 125
   # Logger: is the logger that Amber and other capable shards in the project will use
126 126
   # instead of writing directly to STDOUT. Supply a custom logger to write to syslog, etc.
127 127
   #
128
-  # settings.logger = Amber::Environment::Logger.new(File.open("cdj_carnetdejeu.log", "w"))
128
+  # settings.logger = Amber::Environment::Logger.new(File.open("carnetdejeu.log", "w"))
129 129
   #
130 130
   #
131 131
 end

+ 2
- 2
config/environments/development.yml View File

@@ -1,6 +1,6 @@
1 1
 secret_key_base: cie0hbJtXS-F51akAYdEeNof67tLG4q-L5bpaLqgPTE
2 2
 port: 3000
3
-name: cdj_carnetdejeu
3
+name: carnetdejeu
4 4
 
5 5
 logging:
6 6
   severity: debug
@@ -21,7 +21,7 @@ process_count: 1
21 21
 # ssl_key_file:
22 22
 # ssl_cert_file:
23 23
 redis_url: "redis://localhost:6379"
24
-database_url: postgres://postgres:@localhost:5432/cdj_carnetdejeu_development
24
+database_url: postgres://postgres:@localhost:5432/carnetdejeu_development
25 25
 
26 26
 session:
27 27
   key: amber.session

+ 2
- 2
config/environments/test.yml View File

@@ -1,6 +1,6 @@
1 1
 secret_key_base: 2jEkAoKdioIl6U1W0T-Zu2U7V5HRQ3-GpeIxOeEVjms
2 2
 port: 3000
3
-name: cdj_carnetdejeu
3
+name: carnetdejeu
4 4
 
5 5
 logging:
6 6
   severity: debug
@@ -21,7 +21,7 @@ process_count: 1
21 21
 # ssl_key_file:
22 22
 # ssl_cert_file:
23 23
 redis_url: "redis://localhost:6379"
24
-database_url: postgres://postgres:@localhost:5432/cdj_carnetdejeu_test
24
+database_url: postgres://postgres:@localhost:5432/carnetdejeu_test
25 25
 
26 26
 session:
27 27
   key: amber.session

+ 5
- 5
docker-compose.yml View File

@@ -3,10 +3,10 @@ version: '2'
3 3
 services:
4 4
   app:
5 5
     build: .
6
-    image: cdj_carnetdejeu
6
+    image: carnetdejeu
7 7
     command: amber watch
8 8
     environment:
9
-      DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development
9
+      DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
10 10
     ports:
11 11
       - 3000:3000
12 12
     links:
@@ -18,10 +18,10 @@ services:
18 18
 
19 19
   migrate:
20 20
     build: .
21
-    image: cdj_carnetdejeu
21
+    image: carnetdejeu
22 22
     command: bash -c 'while ! nc -q 1 db 5432 </dev/null; do sleep 1; done && amber db migrate seed'
23 23
     environment:
24
-      DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development
24
+      DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
25 25
     volumes:
26 26
       - .:/app
27 27
     links:
@@ -32,7 +32,7 @@ services:
32 32
     environment:
33 33
       POSTGRES_USER: admin
34 34
       POSTGRES_PASSWORD: password
35
-      POSTGRES_DB: cdj_carnetdejeu_development
35
+      POSTGRES_DB: carnetdejeu_development
36 36
     volumes:
37 37
       - db:/var/lib/postgres/data
38 38
 

+ 1
- 1
package.json View File

@@ -1,5 +1,5 @@
1 1
 {
2
-  "name": "cdj_carnetdejeu",
2
+  "name": "carnetdejeu",
3 3
   "version": "0.1.0",
4 4
   "description": "Cdj Carnetdejeu with Amber",
5 5
   "private": true,

+ 3
- 3
shard.yml View File

@@ -1,4 +1,4 @@
1
-name: cdj_carnetdejeu
1
+name: carnetdejeu
2 2
 version: 0.1.0
3 3
 
4 4
 authors:
@@ -9,8 +9,8 @@ crystal: 0.26.0
9 9
 license: UNLICENSED
10 10
 
11 11
 targets:
12
-  cdj_carnetdejeu:
13
-    main: src/cdj_carnetdejeu.cr
12
+  carnetdejeu:
13
+    main: src/carnetdejeu.cr
14 14
 
15 15
   amber:
16 16
     main: lib/amber/src/amber/cli.cr

src/cdj_carnetdejeu.cr → src/carnetdejeu.cr View File


Loading…
Cancel
Save