| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
| |
It is reliable in the case where the script is sourced from another
script.
|
|
|
|
|
| |
The alternative would be to set a $PATH environment variable in the
cron file.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The app user needs to be able to restart the app because of the current
capistrano setup. The deploy user should not really be the app runner.
|
|/
|
|
| |
Other code for this data migration was removed in e6511423e9334973ecd8d808c3b73c1b4e312935.
|
|
|
|
| |
For hosts with multiple alaveteli services
|
| |
|
|
|
|
|
| |
It becomes confusing in the test environment, better to have a clean
script.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Get bundler and pdftk from raring repo and de-prioritise all other
raring packages
|
|
|
|
| |
- e.g. script/test-vagrant-provisioning squeeze64
|
|
|
|
|
|
|
| |
- Add wheezy repo to get bundler package which is
unavailable in squeeze repo
- Get bundler from wheezy repo and de-prioritise all other
wheezy packages
|
|
|
|
| |
Now uses ugly so convert it with the rake task
|
|
|
|
|
|
|
|
| |
script/rails-deploy-before-down will complain if log is listed in the
SHARED_DIRECTORIES configuration variable and already exists in
APP_ROOT. It will recommend this script be used to migrate to a
timestamped deployment structure, so adding log/ makes the transition of
the log directory easier.
|
|
|
|
|
|
| |
The deployment system should deal with putting logs in the desired
place. As this script gets run on a variety of systems it can cause
problems for non-mySociety reinstallers.
|
|
|
|
| |
Then re-installers don't have to compile anything.
|
|
|
|
| |
Picks these up in `rake notes` and adds semantic meaning
|
| |
|
|
|
|
| |
Develop is too similar to development to mean anything different.
|
|\ |
|
| |
| |
| |
| | |
https://github.com/Fingertips/WAD
|
| | |
|
|/
|
|
| |
Cron sends an email for all output, whereas generally we only want to get an email if the command exited in error.
|
|
|
|
|
|
|
| |
- Sets vendor/bundle as default
- Uses $HOME/bundle when generating general.yml
Based on d9f162c8ab08cb881cd68a3eee900c52c63cb1ae
|
|\ |
|
| |
| |
| |
| |
| | |
Also send them directly to the non-bounce address, don't pipe them through mailin
again.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
config/general.yml-example
spec/factories.rb
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
This is the default value from lib/configuration.rb if they aren't set
and null values cause errors when .empty? is called on them.
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is required by our switch to timestamped-based deploys. There
are certain files and directories (e.g. cache, the Xapian databases,
generated graphs) that should be shared between deployments,
rather than recreating them when creating the next deployment in
a new directory.
This script should be run as a one-off before switching an
instance to using timestamped deploys, to ensure that the existing
data is stored in the shared subdirectory of the vhost directory,
so that any future deployment can simply create symlinks into the
shared directory.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is to support sharing various files between multiple deployments
of Alaveteli. If you have set SHARED_FILES_PATH, SHARED_FILES and
SHARED_DIRECTORIES then the rails-deploy-before-down script will ensure
that a symlink is created from each of the files or directories
mentioned in SHARED_FILES and SHARED_DIRECTORIES to a corresponding
path within SHARED_FILES_PATH.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
This is necessary because the install script is also run on creating a
new EC2 instance from the AMI in order to update the configuration with
the new internal and external names; the hostname will be different in
this case and otherwise myhostname wouldn't be rewritten.
|
|\ \
| |/
|/|
| |
| | |
Conflicts:
script/switch-theme.rb
|
| | |
|
| |
| |
| |
| |
| | |
Conflicts:
script/rails-post-deploy
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are essentially required in exactly the same way as before, but
from lib/themes rather than vendor/plugins. This is the simplest
possible change in order make the themes work outside vendor/plugins,
I think, but it's not necessarily ideal. It would be worth considering
whether these should be changed to Rails engines, as described here:
http://guides.rubyonrails.org/engines.html
|
| |
| |
| |
| |
| | |
This includes making making sure that xapiandbs directory is moved
with this version of the code.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
feature/switch-to-asset-pipeline
Conflicts:
Gemfile.lock
app/assets/images/admin-theme/ui-bg_flat_0_aaaaaa_40x100.png
app/assets/images/admin-theme/ui-bg_flat_55_fbf9ee_40x100.png
app/assets/images/admin-theme/ui-bg_flat_65_ffffff_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_cccccc_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_dadada_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_e6e6e6_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_ffffff_40x100.png
app/assets/images/admin-theme/ui-bg_inset-soft_95_fef1ec_1x100.png
app/assets/images/admin-theme/ui-icons_222222_256x240.png
app/assets/images/admin-theme/ui-icons_2e83ff_256x240.png
app/assets/images/admin-theme/ui-icons_454545_256x240.png
app/assets/images/admin-theme/ui-icons_888888_256x240.png
app/assets/images/admin-theme/ui-icons_cd0a0a_256x240.png
app/assets/javascripts/admin.js
app/assets/javascripts/admin/jquery-ui.min.js
app/assets/javascripts/application.js
app/assets/javascripts/jquery-ui.min.js
app/assets/javascripts/jquery.flot.errorbars.min.js
app/assets/javascripts/jquery.flot.min.js
app/assets/javascripts/stats.js
app/assets/stylesheets/application.css
app/assets/stylesheets/fonts.scss
app/views/general/_stylesheet_includes.html.erb
app/views/layouts/admin.html.erb
app/views/layouts/default.html.erb
app/views/public_body/statistics.html.erb
config/application.rb
config/environments/development.rb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If activesupport isn't present, the mail gem will load it's own version,
and when rails is eventually loaded in this script, the warning
"warning: already initialized constant VALID CHARACTER" is written to
standard error.
|