source: sasview/build_tools/Vagrant/Ubuntu1404/README.md @ 63974f0

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 63974f0 was 63974f0, checked in by trnielsen, 7 years ago

Formatted for better Markdown view

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[63974f0]1Ubuntu Vagrant Setup for SasViewQt
2----------------------------------
3
4How-to setup VM SasViewQt Ubuntu1404 developer env using Vagrant
[e84ccf5]5
6A: Provision VM
[63974f0]7---------------
[e84ccf5]8
9B: Log on to VM - Setup Anaconda
[63974f0]10--------------------------------
11
121. Install miniconda: $ bash ./Miniconda2-latest-Linux-x86_64.sh
132. Export miniconda path: $ export PATH=/home/vagrant/miniconda2/bin:$PATH
143. Make sasviewqt env in minicona: conda env create -f environment.yml
[e84ccf5]15
16C: Build SasView
[63974f0]17----------------
181. clone sasview: git clone https://github.com/SasView/sasview
192. clone sasmodels: git clone https://github.com/SasView/sasmodels
203. show sasview branch: git remote show origin
214. checkout ESS\_GUI: git checkout ESS\_GUI
225. build sasmodels: python setup.py build
236. build sasmodels doc: make html
247. build sasview: python setup.py build
258. build sasview: python setup.py docs
269. run sasview: python run.py
2710. cd SasView/sasview/src/sas/qtgui
2811. make gui: ./make_ui.sh
2912.python run.py / python Main\_Window.py depending on on your cloned githash
[e84ccf5]30
31Tips:
[63974f0]32----
33
34   - $ export PATH=/home/vagrant/miniconda2/bin:$PATH
35   - $ conda env export > environment.yml
36   - $ conda env create -f environment.yml
[e84ccf5]37
[63974f0]38To activate this environment, use:
[e84ccf5]39
[63974f0]40   - $ source activate sasviewqt
[e84ccf5]41
[63974f0]42To deactivate this environment, use:
[e84ccf5]43
[63974f0]44   - $ source deactivate sasviewqt
[e84ccf5]45
46
47Known problems:
[63974f0]48---------------
[e84ccf5]49
[63974f0]50    - libxml2 not installed.
[e84ccf5]51
Note: See TracBrowser for help on using the repository browser.