Aggiornamento - pachiara/alice GitHub Wiki

Aggiornamento di Alice

  1. Alice

    Login con user = alice

    Salvataggio versione attuale e aggiornamento:

    tar czvf alice.`date +%Y%m%d`.tgz alice/ --exclude alice/tmp/* --exclude alice/public/system/detections/xmls/*

    rm -rf alice

    git clone https://github.com/pachiara/alice.git

    cd alice

    bundle install

    bundle exec rake db:migrate RAILS_ENV=production

    bundle exec rake tmp:clear

    bundle exec rake assets:clean

    bundle exec rake assets:precompile RAILS_RELATIVE_URL_ROOT=/alice

  2. Apache + Passenger

    Login con user = root

    Riavviare apache2:

    apache2ctl restart