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

This commit is contained in:
Olivier DOSSMANN 2018-09-04 12:12:17 +02:00
parent 6d4cadc2ae
commit ce890c07fd
7 changed files with 14 additions and 14 deletions

View File

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

View File

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

View File

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

View File

@ -3,10 +3,10 @@ version: '2'
services: services:
app: app:
build: . build: .
image: cdj_carnetdejeu image: carnetdejeu
command: amber watch command: amber watch
environment: environment:
DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
ports: ports:
- 3000:3000 - 3000:3000
links: links:
@ -18,10 +18,10 @@ services:
migrate: migrate:
build: . build: .
image: cdj_carnetdejeu image: carnetdejeu
command: bash -c 'while ! nc -q 1 db 5432 </dev/null; do sleep 1; done && amber db migrate seed' command: bash -c 'while ! nc -q 1 db 5432 </dev/null; do sleep 1; done && amber db migrate seed'
environment: environment:
DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
volumes: volumes:
- .:/app - .:/app
links: links:
@ -32,7 +32,7 @@ services:
environment: environment:
POSTGRES_USER: admin POSTGRES_USER: admin
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
POSTGRES_DB: cdj_carnetdejeu_development POSTGRES_DB: carnetdejeu_development
volumes: volumes:
- db:/var/lib/postgres/data - db:/var/lib/postgres/data

View File

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

View File

@ -1,4 +1,4 @@
name: cdj_carnetdejeu name: carnetdejeu
version: 0.1.0 version: 0.1.0
authors: authors:
@ -9,8 +9,8 @@ crystal: 0.26.0
license: UNLICENSED license: UNLICENSED
targets: targets:
cdj_carnetdejeu: carnetdejeu:
main: src/cdj_carnetdejeu.cr main: src/carnetdejeu.cr
amber: amber:
main: lib/amber/src/amber/cli.cr main: lib/amber/src/amber/cli.cr