Changeset 63974f0 in sasview for build_tools/Vagrant
- Timestamp:
- Dec 13, 2016 4:49:10 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 95d32b7
- Parents:
- 27313b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/Vagrant/Ubuntu1404/README.md
re84ccf5 r63974f0 1 How to setup VM SasViewQt Ubuntu1404 developer env using Vagrant 1 Ubuntu Vagrant Setup for SasViewQt 2 ---------------------------------- 3 4 How-to setup VM SasViewQt Ubuntu1404 developer env using Vagrant 2 5 3 6 A: Provision VM 7 --------------- 4 8 5 9 B: Log on to VM - Setup Anaconda 6 01) Install miniconda: $ bash ./Miniconda2-latest-Linux-x86_64.sh 7 02) Export miniconda path: $ export PATH=/home/vagrant/miniconda2/bin:$PATH 8 03) Make sasviewqt env in minicona: conda env create -f environment.yml 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 9 15 10 16 C: Build SasView 11 04) clone sasview: git clone https://github.com/SasView/sasview 12 05) clone sasmodels: git clone https://github.com/SasView/sasmodels 13 06) show sasview branch: git remote show origin 14 07) checkout ESS_GUI: git checkout ESS_GUI 15 08) build sasmodels: python setup.py build 16 09) build sasmodels doc: make html 17 10) build sasview: python setup.py build 18 11) build sasview: python setup.py docs 19 12) run sasview: python run.py 20 12) cd SasView/sasview/src/sas/qtgui 21 13) make gui: ./make_ui.sh 22 14) python run.py / python Main_Window.py depending on on your cloned githash 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 29 12.python run.py / python Main\_Window.py depending on on your cloned githash 23 30 24 31 Tips: 25 export PATH=/home/vagrant/miniconda2/bin:$PATH 32 ---- 26 33 27 conda env export > environment.yml 28 conda env create -f environment.yml 34 - $ export PATH=/home/vagrant/miniconda2/bin:$PATH 35 - $ conda env export > environment.yml 36 - $ conda env create -f environment.yml 29 37 38 To activate this environment, use: 30 39 31 # To activate this environment, use: 32 # > source activate sasviewqt 33 # 34 # To deactivate this environment, use: 35 # > source deactivate sasviewqt 40 - $ source activate sasviewqt 36 41 42 To deactivate this environment, use: 43 44 - $ source deactivate sasviewqt 37 45 38 46 39 47 Known problems: 40 libxml2 not installed. 48 --------------- 41 49 50 - libxml2 not installed. 42 51
Note: See TracChangeset
for help on using the changeset viewer.