mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-14 11:29:15 +01:00
add application.yml.default
This commit is contained in:
parent
c54b33522d
commit
adfe8f30ae
3
.gitignore
vendored
3
.gitignore
vendored
@ -27,3 +27,6 @@
|
||||
|
||||
# machine specific database config
|
||||
/config/database.yml
|
||||
|
||||
# application configuration
|
||||
/config/application.yml
|
||||
|
@ -24,7 +24,8 @@ The following files must be filled with the correct configuration to allow FabMa
|
||||
- `config.action_mailer.default_url_options` -> change the URL according to the staging deployment url
|
||||
- `mandrill` -> change this if you're using a different mailing system
|
||||
|
||||
- config/application.yml
|
||||
- config/application.yml.default
|
||||
Copy/Paste this file to `config/application.yml` and modify it:
|
||||
- `DEVISE_KEY` -> generate any secret phrase to secure the Devise authentication. You can use the `$ rake secret` command for this purpose.
|
||||
- `SECRET_KEY_BASE` -> generate any secret phrase here to prevent XSS attacks. You can use the `$ rake secret` command for this purpose.
|
||||
- `DEFAULT_MAIL_FROM` -> default e-mail address from which the emails are sent
|
||||
|
29
config/application.yml.default
Normal file
29
config/application.yml.default
Normal file
@ -0,0 +1,29 @@
|
||||
# Add application configuration variables here, as shown below.
|
||||
#
|
||||
|
||||
# Var ENV for Staging or Production
|
||||
DEVISE_KEY: '-- your secret key here --'
|
||||
|
||||
SECRET_KEY_BASE: YourXssPreventionKeyHere
|
||||
|
||||
APPLICATION_ROOT_URL: 'demo.fab-manager.com'
|
||||
APPLICATION_PROTOCOL: 'http'
|
||||
|
||||
DATABASE_USERNAME:
|
||||
DATABASE_PASSWORD:
|
||||
DATABASE_PORT:
|
||||
|
||||
DEFAULT_MAIL_FROM: fabmanager <noreply@fabmanager.com>
|
||||
|
||||
MANDRILL_USERNAME: YourMandrillUsernameHere
|
||||
MANDRILL_APIKEY: YourMandrillApiKeyHere
|
||||
|
||||
GOOGLE_ANALYTICS_ACCOUNT: 'UA-YOUR_ID_HERE'
|
||||
|
||||
|
||||
# Global ENV
|
||||
TWITTER_NAME: 'FablabGrenoble'
|
||||
TWITTER_CONSUMER_KEY: 'YourTwitterKeyHere'
|
||||
TWITTER_CONSUMER_SECRET: 'YourTwitterSecretHere'
|
||||
TWITTER_ACCESS_TOKEN: 'YourTwitterTokenHere'
|
||||
TWITTER_ACCESS_TOKEN_SECRET: 'YourTwitterTokenSecretHere'
|
Loading…
x
Reference in New Issue
Block a user