Browse Source

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

master
Olivier DOSSMANN 1 year ago
parent
commit
ce890c07fd

+ 1
- 1
config/application.cr 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
# 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

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

@@ -1,6 +1,6 @@
secret_key_base: cie0hbJtXS-F51akAYdEeNof67tLG4q-L5bpaLqgPTE
port: 3000
name: cdj_carnetdejeu
name: carnetdejeu

logging:
severity: debug
@@ -21,7 +21,7 @@ process_count: 1
# ssl_key_file:
# ssl_cert_file:
redis_url: "redis://localhost:6379"
database_url: postgres://postgres:@localhost:5432/cdj_carnetdejeu_development
database_url: postgres://postgres:@localhost:5432/carnetdejeu_development

session:
key: amber.session

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

@@ -1,6 +1,6 @@
secret_key_base: 2jEkAoKdioIl6U1W0T-Zu2U7V5HRQ3-GpeIxOeEVjms
port: 3000
name: cdj_carnetdejeu
name: carnetdejeu

logging:
severity: debug
@@ -21,7 +21,7 @@ process_count: 1
# ssl_key_file:
# ssl_cert_file:
redis_url: "redis://localhost:6379"
database_url: postgres://postgres:@localhost:5432/cdj_carnetdejeu_test
database_url: postgres://postgres:@localhost:5432/carnetdejeu_test

session:
key: amber.session

+ 5
- 5
docker-compose.yml View File

@@ -3,10 +3,10 @@ version: '2'
services:
app:
build: .
image: cdj_carnetdejeu
image: carnetdejeu
command: amber watch
environment:
DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development
DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
ports:
- 3000:3000
links:
@@ -18,10 +18,10 @@ services:

migrate:
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'
environment:
DATABASE_URL: postgres://admin:password@db:5432/cdj_carnetdejeu_development
DATABASE_URL: postgres://admin:password@db:5432/carnetdejeu_development
volumes:
- .:/app
links:
@@ -32,7 +32,7 @@ services:
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password
POSTGRES_DB: cdj_carnetdejeu_development
POSTGRES_DB: carnetdejeu_development
volumes:
- db:/var/lib/postgres/data


+ 1
- 1
package.json View File

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

+ 3
- 3
shard.yml View File

@@ -1,4 +1,4 @@
name: cdj_carnetdejeu
name: carnetdejeu
version: 0.1.0

authors:
@@ -9,8 +9,8 @@ crystal: 0.26.0
license: UNLICENSED

targets:
cdj_carnetdejeu:
main: src/cdj_carnetdejeu.cr
carnetdejeu:
main: src/carnetdejeu.cr

amber:
main: lib/amber/src/amber/cli.cr

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


Loading…
Cancel
Save