1
0
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:
Sylvain 2016-03-24 11:30:15 +01:00
parent 5fff77d906
commit 2b3a38065f
3 changed files with 34 additions and 1 deletions

3
.gitignore vendored
View File

@ -27,3 +27,6 @@
# machine specific database config
/config/database.yml
# application configuration
/config/application.yml

View File

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

View 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'