-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·36 lines (29 loc) · 1.02 KB
/
install.sh
File metadata and controls
executable file
·36 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
python3 -m venv .env
source .env/bin/activate
pip install mkdocs mkdocs-macros-plugin python-markdown-math pymdown-extensions
if [ $# -eq 1 ];then
serv=serv6
ssh-copy-id -i .ssh/id_serv6.pub $serv
scp .bash_aliases $serv:
# ccp4 docs on machine
ssh $serv
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
pip install mkdocs pymdown-extensions python-markdown-math markdown-meta-extension
#ED(gcc and g++ need be installed)
scp ~/.ssh/id_rsa_git $serv:.ssh
cd $ED
git clone https://www.github.com/ccp4/electron-diffraction.git
cd
##ED tests
ssh $serv "mkdir bin"
sudo apt-get install pandoc
pip install IPython wheel pytest pytest-html pytest-cov tarikDrevonUtils
scp EDtests.sh EDtest_tab.sh ptest.sh ccp4tab.sh $serv:bin
printf "
*/60 * * * * /home/lii26466/bin/ccp4tab.sh\n
0 1 * * * /home/lii26466/bin/EDtests.sh\ng
#26 11 * * * /home/lii26466/bin/EDtests.sh #test_continuous.py
" >> /var/spool/cron/crontabs/lii26466
## ED documentation
pip3 install sphinx
fi