Browse Source

L'application est renommée Chronobriq

Lou 3 years ago
parent
commit
e2c60fe4eb
5 changed files with 9 additions and 8 deletions
  1. 1
    1
      README.md
  2. 3
    2
      config/application.rb
  3. 1
    1
      config/cable.yml
  4. 3
    3
      config/database.yml
  5. 1
    1
      config/environments/production.rb

+ 1
- 1
README.md View File

1
-# Registra
1
+# Chronobriq
2
 ## Rails API
2
 ## Rails API
3
 
3
 
4
 Ruby 3.0.1 // Rails 6.1.3.1
4
 Ruby 3.0.1 // Rails 6.1.3.1

+ 3
- 2
config/application.rb View File

19
 # you've limited to :test, :development, or :production.
19
 # you've limited to :test, :development, or :production.
20
 Bundler.require(*Rails.groups)
20
 Bundler.require(*Rails.groups)
21
 
21
 
22
-module RegistraApi
22
+module ChronobriqApi
23
   class Application < Rails::Application
23
   class Application < Rails::Application
24
     # Initialize configuration defaults for originally generated Rails version.
24
     # Initialize configuration defaults for originally generated Rails version.
25
     config.load_defaults 6.1
25
     config.load_defaults 6.1
37
     # Skip views, helpers and assets when generating a new resource.
37
     # Skip views, helpers and assets when generating a new resource.
38
     config.api_only = true
38
     config.api_only = true
39
 
39
 
40
-    # Adds the content of 'lib' folder to Ruby on Rails _autoload_s
40
+    # Adds the content of 'lib' folder to Ruby on Rails _autoload_s,
41
+    # used to handle tokens.
41
     config.eager_load_paths << Rails.root.join('lib')
42
     config.eager_load_paths << Rails.root.join('lib')
42
   end
43
   end
43
 end
44
 end

+ 1
- 1
config/cable.yml View File

7
 production:
7
 production:
8
   adapter: redis
8
   adapter: redis
9
   url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
9
   url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
10
-  channel_prefix: registra_api_production
10
+  channel_prefix: chronobriq_api_production

+ 3
- 3
config/database.yml View File

15
 development:
15
 development:
16
   <<: *default
16
   <<: *default
17
   # database: db/development.sqlite3
17
   # database: db/development.sqlite3
18
-  database: registra_development
18
+  database: chronobriq_development
19
 
19
 
20
 # Warning: The database defined as "test" will be erased and
20
 # Warning: The database defined as "test" will be erased and
21
 # re-generated from your development database when you run "rake".
21
 # re-generated from your development database when you run "rake".
23
 test:
23
 test:
24
   <<: *default
24
   <<: *default
25
   # database: db/test.sqlite3
25
   # database: db/test.sqlite3
26
-  database: registra_test
26
+  database: chronobriq_test
27
 
27
 
28
 production:
28
 production:
29
   <<: *default
29
   <<: *default
30
   # database: db/production.sqlite3
30
   # database: db/production.sqlite3
31
-  database: registra_production
31
+  database: chronobriq_production

+ 1
- 1
config/environments/production.rb View File

53
 
53
 
54
   # Use a real queuing backend for Active Job (and separate queues per environment).
54
   # Use a real queuing backend for Active Job (and separate queues per environment).
55
   # config.active_job.queue_adapter     = :resque
55
   # config.active_job.queue_adapter     = :resque
56
-  # config.active_job.queue_name_prefix = "registra_api_production"
56
+  # config.active_job.queue_name_prefix = "chronobriq_api_production"
57
 
57
 
58
   config.action_mailer.perform_caching = false
58
   config.action_mailer.perform_caching = false
59
 
59
 

Loading…
Cancel
Save