This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsymlinkSetup.sh
56 lines (43 loc) · 1.89 KB
/
symlinkSetup.sh
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
# Used specifically with directory structure for Elvis
# Not guaranteed to work for the directory structure of whoever clones this
# Directory structure I'm working with (everything listed below is a dir):
# +-- Parent_directory
# | +-- react_flask_pdb2pqr (root directory of repo)
# | +-- PDB2PQR_web
# |
# | +-- antd_pdb2pqr
# | +-- build
# |
# | +-- builds
# | +-- pdb2pqr_build
# This script sets up the symbolic links in order for development to be easier
ln -s ../builds/pdb2pqr_build ./pdb2pqr_build
cd PDB2PQR_web
ln -s ../../antd_pdb2pqr/build ./build
cd ..
cd ../builds/pdb2pqr_build
ln -s ../../apbs-rest/src/pdb2pqr_build_materials/main_cgi.py main_cgi.py
ln -s ../../apbs-rest/src/pdb2pqr_build_materials/querystatus.py querystatus.py
ln -s ../../apbs-rest/src/pdb2pqr_build_materials/apbs_cgi.py apbs_cgi.py
ln -s ../../apbs-rest/src/workflow/legacy/weboptions.py weboptions.py
cd ../../apbs-rest/src/workflow/legacy/
ln -s ../../../../builds/pdb2pqr_build/main_cgi.py
ln -s ../../../../builds/pdb2pqr_build/apbs_cgi.py
ln -s ../../../../builds/pdb2pqr_build/src/
ln -s ../../../../builds/pdb2pqr_build/dat/
ln -s ../../../../builds/pdb2pqr_build/main.pyc
ln -s ../../../../builds/pdb2pqr_build/extensions/
ln -s ../../../../builds/pdb2pqr_build/pdb2pka/
ln -s ../../../../builds/pdb2pqr_build/propka30/
cd ../../apbs-rest/src/tmp_task_exec/legacy/
ln -s ../../../../builds/pdb2pqr_build/src/
ln -s ../../../../builds/pdb2pqr_build/main.pyc
ln -s ../../../../builds/pdb2pqr_build/extensions/
ln -s ../../../../builds/pdb2pqr_build/pdb2pka/
ln -s ../../../../builds/pdb2pqr_build/propka30/
# cd ../../apbs-rest/src/workflow/legacy/src
# ln -s ../../../../../builds/pdb2pqr_build/src/utilities.pyc utilities.pyc
# ln -s ../../../../../builds/pdb2pqr_build/src/aconf.pyc aconf.pyc
cd ../../apbs-rest
# ln -s ../../react_flask_pdb2pqr/pdb2pqr.py pdb2pqr.py