spree-contrib / spree_analytics

BSD 3-Clause "New" or "Revised" License
18 stars 11 forks source link

How to create environment basics for an app #17

Closed preranalanjile closed 12 years ago

preranalanjile commented 12 years ago

Spree analytic configuration used in one environment gives the same result for other environment after deployment.

So is configuration related to environment ? If yes, then Can you please tell me how to generate environment basics for an app ?

Thanks, Prerana

radar commented 12 years ago

Analytic configuration is kept in the database. If both your environments are using the same database then they will share the same configuration. If you want different configuration on different environments then you will need to use an initializer to configure the analytics settings before the server boots in either environment.