Skip to content

Updating

Très Acton edited this page May 27, 2017 · 2 revisions

Checking whether you're up-to-date

Navigate to the "About" page within your local instance of DSpectrumGUI. It will run a git fetch and let you know how many commits behind you are. It will also display the version you are running, which helps us greatly if you report a bug. If you are more than one commit behind, it will also give you some commands to copy and paste into a terminal to get the latest code in the Master branch.

Updating DSpectrumGUI

Open a terminal and cd to the DSpectrumGUI folder. Then run the following commands.

git fetch
git checkout master
git pull origin master
rake db:migrate
rake db:seed

FAQs for updating

Why do I need to run db:migrate?

If we release an update that requires some sort of database change (e.g. the introduction of a new database model), then rails will not let you start the web app unless this is performed. It can't hurt to run it if there are no new migrations, so it's a good habit to get into.

Why do I need to run db:seed?

If new community contributions are approved and added for reverse engineering worksheet templates, this will make sure you have access to them.

Is it important to update regularly?

We won't force you to, but yes. That's how you'll receive new features and new templates donated by the community. That's why we have tried to provide an easy way to see if you're running the latest code and provide the update instructions straight from the application.

Clone this wiki locally