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 f0bb711 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
|
Rev | Line | |
---|
[63974f0] | 1 | Ubuntu Vagrant Setup for SasViewQt |
---|
| 2 | ---------------------------------- |
---|
| 3 | |
---|
| 4 | How-to setup VM SasViewQt Ubuntu1404 developer env using Vagrant |
---|
[e84ccf5] | 5 | |
---|
| 6 | A: Provision VM |
---|
[63974f0] | 7 | --------------- |
---|
[e84ccf5] | 8 | |
---|
| 9 | B: Log on to VM - Setup Anaconda |
---|
[63974f0] | 10 | -------------------------------- |
---|
| 11 | |
---|
| 12 | 1. Install miniconda: $ bash ./Miniconda2-latest-Linux-x86_64.sh |
---|
| 13 | 2. Export miniconda path: $ export PATH=/home/vagrant/miniconda2/bin:$PATH |
---|
| 14 | 3. Make sasviewqt env in minicona: conda env create -f environment.yml |
---|
[e84ccf5] | 15 | |
---|
| 16 | C: Build SasView |
---|
[63974f0] | 17 | ---------------- |
---|
| 18 | 1. clone sasview: git clone https://github.com/SasView/sasview |
---|
| 19 | 2. clone sasmodels: git clone https://github.com/SasView/sasmodels |
---|
| 20 | 3. show sasview branch: git remote show origin |
---|
| 21 | 4. checkout ESS\_GUI: git checkout ESS\_GUI |
---|
| 22 | 5. build sasmodels: python setup.py build |
---|
| 23 | 6. build sasmodels doc: make html |
---|
| 24 | 7. build sasview: python setup.py build |
---|
| 25 | 8. build sasview: python setup.py docs |
---|
| 26 | 9. run sasview: python run.py |
---|
| 27 | 10. cd SasView/sasview/src/sas/qtgui |
---|
| 28 | 11. make gui: ./make_ui.sh |
---|
[95d32b7] | 29 | 12. python run.py / python Main\_Window.py depending on on your cloned githash |
---|
[e84ccf5] | 30 | |
---|
| 31 | Tips: |
---|
[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] | 38 | To activate this environment, use: |
---|
[e84ccf5] | 39 | |
---|
[63974f0] | 40 | - $ source activate sasviewqt |
---|
[e84ccf5] | 41 | |
---|
[63974f0] | 42 | To deactivate this environment, use: |
---|
[e84ccf5] | 43 | |
---|
[63974f0] | 44 | - $ source deactivate sasviewqt |
---|
[e84ccf5] | 45 | |
---|
| 46 | |
---|
| 47 | Known problems: |
---|
[63974f0] | 48 | --------------- |
---|
[e84ccf5] | 49 | |
---|
[95d32b7] | 50 | - libxml2 not installed. |
---|
[e84ccf5] | 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.