Commit Graph

85 Commits

Author SHA1 Message Date
evazion
5d1a1cc87e Change github repo url to https://github.com/danbooru/danbooru.
The danbooru repo was moved to https://github.com/danbooru.
2019-12-02 17:33:40 -06:00
evazion
804ccd4fcc capistrano: fix cronjobs not updating.
Bug: capistrano didn't update the crontab during deployment. As a result
the crontab still referenced an old deployment. Eventually that
deployment was deleted and cronjobs started silently failing.

Broken in 223e5f1e8. Turns out that `whenever` defaults to running on
servers with the `db` role. Removing kagamihara from the db role meant
that whenever was no longer configured to run anywhere.
2019-08-21 18:02:55 -05:00
evazion
e29e5fe984 Fix #4131: Upgrade to Ruby 2.6.
Upgrade procedure:

    $ echo 2.6.3 > .ruby-version

    # upgrade ruby-build to know about the latest ruby versions.
    # see also: github.com/rkh/rbenv-update
    $ cd ~/.rbenv/plugins/ruby-build && git pull

    # install the version of ruby specified in .ruby-version.
    # see also: github.com/capistrano/rbenv/issues/83
    $ rbenv install --skip-existing

    # update the shell to use the latest version of ruby by default.
    $ rbenv global 2.6.3

    # update rubygems and bundler
    $ gem update --system

    # update the lockfile to use the latest version of bundler
    $ bundle update --bundler
2019-08-14 12:25:50 -05:00
evazion
c225d54de1 capistrano: add deploy:rolling task (fix #4123). 2019-08-07 22:11:07 -05:00
evazion
223e5f1e81 capistrano: enable conditional migrations. 2019-08-07 22:11:07 -05:00
evazion
2beb79166e capistrano: fix git deprecation warning. 2019-08-07 22:11:07 -05:00
nothink
72ceb484ce Update INSTALL.debian, for Debian 9(stretch) 2019-08-05 23:29:12 +09:00
r888888888
25c0c8884c move production2 configs to production 2018-10-04 01:12:25 -07:00
Albert Yi
897d3d3a99 add production2 env for testing new servers 2018-10-03 11:23:26 -07:00
r888888888
146b27f4cf update rbenv version 2018-01-30 12:05:38 -08:00
r888888888
76eefd0ffe add support for deploying specific branch or commit 2017-04-22 01:16:47 -07:00
r888888888
e12d5e1290 fix cap files 2017-01-24 13:15:21 -08:00
r888888888
e9d41d6418 include .env to linked files for deployment 2017-01-24 13:13:13 -08:00
Albert Yi
8d8511dc08 update rbenv ruby version 2016-10-12 16:46:29 -07:00
r888888888
e669b66395 update to capistrano3 2015-08-19 15:53:13 -07:00
r888888888
657846732d update deploy script 2015-08-19 12:46:18 -07:00
r888888888
4aa89eb6ff revert deploy cleanup change 2015-02-02 21:05:30 -08:00
r888888888
6f7ba84f4b prune capistrano releases to 10 most recent 2015-01-30 13:39:55 -08:00
r888888888
4878f39e45 use 2 delayed_job workers 2014-10-27 22:30:11 -07:00
r888888888
3ed3febe06 update install scripts 2014-06-22 20:25:32 -07:00
JuneHyeon Bae
937ae9a60f Fix raw github url 2014-06-09 21:44:16 +09:00
r888888888
48b2719031 Reenable asset compilation for production 2014-04-25 14:40:20 -07:00
ghostrigger
a77125ada2 fixes #2126
explicitly stated run "chmod 600 ~/.danbooru/secret_token" and run "chmod 600 ~/.danbooru/session_secret_key" related to 03e8906b09 (issue #1366)
2014-04-11 16:43:37 +08:00
r888888888
aed551e009 rbenv compatibility 2014-03-19 14:22:04 -07:00
r888888888
a5f268563d remove references to ssd previews 2014-03-10 13:00:01 -07:00
r888888888
03e8906b09 fixes #1366 2014-03-06 18:18:18 -08:00
r888888888
84cd566caf fix bug with incorrect method call for dalli client 2013-08-06 15:46:47 -07:00
Toks
2497cb28ae possible fix for #1795 2013-06-24 10:45:53 -04:00
r888888888
df7bbcd4d1 fixes #1012 2013-06-10 18:07:57 -07:00
小太
5632f8c05c Fix possible typo in config/deploy.rb 2013-05-18 19:15:49 +10:00
r888888888
b1d0ca821e fix unicorn deploy for staging 2013-05-10 19:44:14 -07:00
r888888888
adce92c32f update gemfile 2013-04-15 22:17:09 -07:00
r888888888
27f60060d5 add unicorn support 2013-04-15 21:58:00 -07:00
Albert Yi
f5b0f856d6 potential fix for #1305 2013-04-14 18:22:25 -07:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
b5e5607902 reduce frequency of post count expiration for blank tag case 2013-03-15 13:15:44 -04:00
albert
6afad417aa remove newrelic yml 2013-03-15 11:09:29 -04:00
albert
9cf65b6edc hide default license key for newrelic 2013-03-12 17:28:16 -04:00
albert
80f3bb5e47 remove flag/appeal/pool element text flash on post/show 2013-03-08 13:17:47 -05:00
albert
89c0ab86a8 add default queue 2013-03-03 01:21:00 -05:00
albert
f0b29fc3ba more intelligent queuing of async jobs 2013-03-03 01:12:31 -05:00
albert
4203f344c0 fix for mod queue logic 2013-02-22 20:59:21 -05:00
albert
d5c3e10d57 fix trac reference to github 2013-02-20 22:18:33 -05:00
albert
62ccdf97d4 improved error message for posts 2013-02-20 17:08:51 -05:00
albert
741f97481d enable delayed_job 2013-02-17 21:40:12 -05:00
albert
424c9c94a8 fixes 2013-02-17 20:43:05 -05:00
albert
3d5c47afe3 hide data in delayed job listing 2013-02-17 13:13:11 -05:00
albert
301bbbfde5 fix for post rss feeds, fix for notes 2013-02-17 00:45:08 -05:00
albert
0ad6fe1f29 include bundle exec in delayed_job deploy script 2013-02-17 00:27:59 -05:00
albert
4bcb425c1c update cap script 2013-01-06 17:23:10 -05:00