jan

48 notes

9 months ago
#diaspora pod update

rvm get latest

if needed

git checkout upstream/master Gemfile.lock
git checkout upstream/master db/schema.rb

update from repo

git pull
cd .. && cd -

update bundler and gems

gem install bundler
RAILS_ENV=production bin/bundle; bin/bundle clean
        
migrate db schema

RAILS_ENV=production bin/rake db:migrate

compile assets

RAILS_ENV=production bin/rake assets:precompile 
RAILS_ENV=production bin/rake assets:clean

restart

bin/eye restart web 
bin/eye restart sidekiq