Skip to content

# Installation on Mac OSX

Très Acton edited this page Jul 6, 2019 · 3 revisions

MAC OSX

This assumes you have cmake (probably need xcode to be installed)

Installing RVM & Ruby 2.5.5

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash

rvm install 2.5.5

Installing Inspectrum (instructions from: https://github.com/miek/inspectrum/wiki/Build)

Using Macports (homebrew is possible, but this is significantly easier because of cmake paths etc)

git clone https://github.com/miek/inspectrum.git
cd inspectrum
sudo port install qt5 fftw-3-single cmake pkgconfig liquid-dsp
mkdir build
cd build
cmake ..
make
sudo make install
cd ../../

Using Homebrew (not recommended for beginners - go the Macports route instead)

git clone https://github.com/miek/inspectrum.git
cd inspectrum
brew install qt5 fftw cmake pkg-config liquid-dsp
mkdir build
cd build
CMAKE_PREFIX_PATH=$(brew --prefix qt5)/lib/cmake cmake .. -DCMAKE_CXX_FLAGS:STRING=-I/usr/local/opt/qt5/include ..
make install
cd ../../

Installing DSpectrumGUI (this app)

git clone https://github.com/tresacton/dspectrumgui.git
cd dspectrumgui
gem install bundler
bundle config build.nokogiri --use-system-libraries
bundle
rake db:setup && rake db:migrate && rake db:seed

Launching DSpectrumGUI

rails s -p 3001

You can now open a browser and navigate to http://localhost:3001/


Credentials

Username: user@example.com

Password: password

To change the credentials (recommended!):

cd dspectrumgui
rails c
u = User.last
u.email = "you@somewhere.com"
u.password = u.password_confirmation = "YourSecurePassword"
u.full_name = "Earthling"
u.save!