activation form
This commit is contained in:
4
config/initializers/license.rb
Executable file
4
config/initializers/license.rb
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
config = YAML.load_file(Rails.root.join("config/license.yml"))
|
||||||
|
config.fetch(Rails.env, {}).each do |key, value|
|
||||||
|
ENV[key.upcase] = value.to_s
|
||||||
|
end
|
||||||
14
config/license.yml
Executable file
14
config/license.yml
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
development:
|
||||||
|
server_mode: local
|
||||||
|
license_key: IAAXHpbSWAfvlWGYpDoXvZdmuRABNGk
|
||||||
|
|
||||||
|
|
||||||
|
test:
|
||||||
|
sx_provision_url: secure.smartsales.asia/api
|
||||||
|
|
||||||
|
# Do not keep production secrets in the repository,
|
||||||
|
# instead read values from the environment.
|
||||||
|
production:
|
||||||
|
server_mode: cloud
|
||||||
|
license_key: IAAXHpbSWAfvlWGYpDoXvZdmuRABNGk
|
||||||
|
|
||||||
Reference in New Issue
Block a user