Skip to content
angela edited this page Sep 25, 2018 · 3 revisions

Upgrading Resgen from versions Prior to v1.2.0

You do not need to run upgrade.rb if you are on version 1.2.0 or greater. Simply run git pull after backing up your resgen directory and you're good to go.

Upgrading Resgen is easy, but you'll want to make a backup of your applied directory and config.yml file, just in case.

Once you have a safe copy of the necessities, begin the update process by navigating to Resgen's directory in your terminal. If Resgen was installed to your desktop:

Windows:

cd Desktop/resgen

Linux & Mac:

cd ~/Desktop/resgen

Now pull the repo, with Git:

git pull

If you get a warning that config.yml will be overwritten, you can run git stash (if you're familiar with popping stashes), or simply destroy your customizations and start fresh on next run:

git checkout -- config.yml

You will need to run git pull once more, to complete the transaction after doing a checkout of config.yml

Once the pull completes and you see the updated files statistics from your terminal, you can either:

  • Restore config.yml from your backup
  • Start a new config file:
ruby resgen

to generate the starter spreadsheet and prepare the application for use.

  • Go into config.yml and ensure the directory where all of your previously applied job postings are stored, is set under appliedir.

Now, run the upgrade script that was introduced in v1.2.0:

ruby upgrade.rb

It should only take a few seconds for your previously applied-to jobs to be imported; you'll be prompted upon completion to run a test to see your new reports.

Clone this wiki locally