source: sasview/build_tools/Vagrant/Ubuntu1404/README.md @ b2c8aef

Last change on this file since b2c8aef was 95d32b7, checked in by trnielsen, 8 years ago

Formatted for better Markdown view - once more

  • Property mode set to 100644
File size: 1.4 KB
Line 
1Ubuntu Vagrant Setup for SasViewQt
2----------------------------------
3
4How-to setup VM SasViewQt Ubuntu1404 developer env using Vagrant
5
6A: Provision VM
7---------------
8
9B: Log on to VM - Setup Anaconda
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
15
16C: Build SasView
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
30
31Tips:
32----
33
34   - $ export PATH=/home/vagrant/miniconda2/bin:$PATH
35   - $ conda env export > environment.yml
36   - $ conda env create -f environment.yml
37
38To activate this environment, use:
39
40   - $ source activate sasviewqt
41
42To deactivate this environment, use:
43
44   - $ source deactivate sasviewqt
45
46
47Known problems:
48---------------
49
50   - libxml2 not installed.
51
Note: See TracBrowser for help on using the repository browser.