Skip to content

Commit

Permalink
Merge branch 'master' into master-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
thatandromeda committed Sep 5, 2018
2 parents 0d4b719 + f7a2366 commit e4155f1
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 13 deletions.
5 changes: 4 additions & 1 deletion app/assets/images/Cc.logo.circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion app/assets/images/arrow-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions app/assets/images/arrow-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions app/assets/images/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions app/assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
config.action_controller.perform_caching = true

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false
config.serve_static_files = false

# Compress JavaScripts and CSS
config.assets.compress = true
Expand Down
3 changes: 2 additions & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Rails.application.config.assets.precompile += %w( rails_admin/custom/ui.js piwik.js )
Rails.application.config.assets.precompile += %w[rails_admin/custom/ui.js
piwik.js]
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ If any deploys have special instructions, write them here, with a date and PR nu

* 16 August 2018/PR #470: requires cron job update (see https://github.com/berkmancenter/lumendatabase/pull/470)
* 29 August 2018/PR #482: crontabs on enyos, percy, and flutie will need to be edited so to run rake lumen:* tasks rather than rake chillingeffects:* tasks. https://github.com/berkmancenter/lumendatabase/pull/482
* Move bin/init-env.sh to .env
* Move bin/init-env.sh to .env (cat bin/init-env.sh >> .env; vi .env; : ; %s/export\s//g ; remove first line; exit, save)
* Remove these instructions

## Hotfix
* Write code, code-review, and merge into `dev` via the normal process.
Expand Down Expand Up @@ -53,8 +54,10 @@ If any deploys have special instructions, write them here, with a date and PR nu
* `git pull origin <branch>`
* Servers have correct default branches set so this is just `git pull` unless you need a different branch
* `bundle install`
* `cp ../ .env`
* `cp ../.env .`
* `rake db:migrate`
- The order of source and db:migrate is important!
- If this throws a `PG::ConnectionBad:` and asks something like "Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?", use `RAILS_ENV=production rake db:migrate`
* `rake assets:clobber`
* `rake assets:precompile`
* `touch tmp/restart.txt`
* This tells Passenger to restart its listener

0 comments on commit e4155f1

Please sign in to comment.