Browse Source

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

master
Olivier DOSSMANN 3 years ago
parent
commit
ce890c07fd
  1. 2
      config/application.cr
  2. 4
      config/environments/development.yml
  3. 4
      config/environments/test.yml
  4. 10
      docker-compose.yml
  5. 2
      package.json
  6. 6
      shard.yml
  7. 0
      src/carnetdejeu.cr

2
config/application.cr

@ -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

4
config/environments/development.yml

@ -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

4
config/environments/test.yml

@ -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

10
docker-compose.yml

@ -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

2
package.json

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

6
shard.yml

@ -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

0
src/cdj_carnetdejeu.cr → src/carnetdejeu.cr

Loading…
Cancel
Save