Blastermaster2.0: Difference between revisions

From DISI
Jump to navigation Jump to search
m (asdf)
No edit summary
Line 1: Line 1:


== first time ==  
== Quick start ==  


== 0. use centos7 e.g. gimel5 ==
== 0. Use Centos7 e.g. gimel5 ==


== 1. install poetry ==
== 1. Copy the blaster config file to your directory ==
background info here:
  export $BM2_PATH=/nfs/soft2/ian/blastermaster-2.0
  https://python-poetry.org/docs/
  cp $BM2_PATH/blaster_config.ini .
command here:
  curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -


== 2. set up pyenv ==
== 2. Edit the config file to your specifications ==
  ~isknight/.pyenv/bin/pyenv install 3.8.5
  vi blaster_config.ini


== every time ==
To enter edit-mode, press "i".


== 0. use centos7 e.g. gimel5 ==
Make your edits.  


== 1. activate environment ==
When you're done, press "ESC" to exit edit-mode.  
bash
 
Press "x!" followed by "RETURN" to save your edits and exit the text editor.
   
   
  source /nfs/home/isknight/.poetry/env
== 3. Run Blastermaster 2.0 ==
  bash /nfs/soft2/ian/bm2.sh blaster_config.ini


export PATH="/nfs/home/isknight/.pyenv/bin:$PATH"
eval "$(pyenv init -)"


export PATH="/nfs/home/isknight/.poetry/bin:$PATH"
== For developers ==  
export PYENV_ROOT="/nfs/home/isknight/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"


~isknight/.pyenv/bin/pyenv local 3.8.5
Blastermaster 2.0 is built and run using [https://python-poetry.org/ Poetry].  
cd to the directory where you install poetry.  
poetry install
poetry shell
cd to the working directory
then we can start to run blaster master
cp blaster_config.ini
blastermaster blaster_config.ini


== 4. ==
The bm2.sh script used to actually run blastermaster 2.0 lives in /nfs/soft2/ian/




[[Category:blastermaster2.0]]
[[Category:blastermaster2.0]]
[[Category:active_development]]
[[Category:active_development]]

Revision as of 04:23, 11 March 2022

Quick start

0. Use Centos7 e.g. gimel5

1. Copy the blaster config file to your directory

export $BM2_PATH=/nfs/soft2/ian/blastermaster-2.0
cp $BM2_PATH/blaster_config.ini .

2. Edit the config file to your specifications

vi blaster_config.ini 

To enter edit-mode, press "i".

Make your edits.

When you're done, press "ESC" to exit edit-mode.

Press "x!" followed by "RETURN" to save your edits and exit the text editor.

3. Run Blastermaster 2.0

bash /nfs/soft2/ian/bm2.sh blaster_config.ini


For developers

Blastermaster 2.0 is built and run using Poetry.

The bm2.sh script used to actually run blastermaster 2.0 lives in /nfs/soft2/ian/