The BioCatalogue codebase is:
false temporarily for the initial db:migrate used to set up the database in the first placeNone
service_version_instance service_instance service_versionified service_versionified_instance
See: Caching
We use a plugin called asset_packager to combine and compress the CSS and JS files to greatly improve the client side loading environment.
This plugin, in production mode, automatically generates two files:
… which are the combined and compressed versions.
This plugin relies on the YUI Compressor and thus requires a JVM environment to run in.
IMPORTANT: when doing at update to the servers, the following command MUST be run in order to refresh the packaged JS and CSS files:
rake asset:packager:build_all
Any major new features/development should be done in branches instead of trunk to ensure that trunk is always relatively stable. When development in the branch has reached a stable point then it can be merged back into trunk and deployed to the site. This way we can do updates to the beta site in a more managed fashion and make sure we get bug fixes into trunk asap.
For information on branching/merging in SVN:
Important:
The recommended procedure:
* Non-religious people are probably screwed here.
You can use either the svn command line tools or Eclipse (with the Subclipse plugin installed). Eclipse/Subclipse provides excellent merging and conflict resolution tools. For detailed instructions on how to merge back the changes in a branch to trunk check out: http://blog.daemon.com.au/go/blog-post/merging-with-subversion-and-eclipse.
Check if you have the file:
./<APPL_ROOT>/config/initializers/biocat_local.rb
If not then copy:
./<APPL_ROOT>/config/initializers/biocat_local.rb.pre
into
./<APPL_ROOT>/config/initializers/biocat_local.rb
gem update --system
sudo gem install bundler
bundle install --path path/to/where/gems/should/be/installed
If no path option is specified, bundler will install gems to your system default gems location