Team:UESTC-Software/Installation.html
From 2014.igem.org
(Difference between revisions)
Tangying0608 (Talk | contribs) |
Tangying0608 (Talk | contribs) |
||
(2 intermediate revisions not shown) | |||
Line 53: | Line 53: | ||
color: #999;font-size: 15px;"> | color: #999;font-size: 15px;"> | ||
<tr><td>Name</td><td>Version</td><td>Notes</td></tr> | <tr><td>Name</td><td>Version</td><td>Notes</td></tr> | ||
- | <tr><td>Linux</td><td>Fedora | + | <tr><td>Linux</td><td>Fedora, Ubuntu, Debian or related system</td><td>Here, related system means that the Linux distribution supports <span style="color:#8fc41f">'.rpm'</span> or <span style="color:#8fc41f">'.deb'</span> packages. </td></tr> |
- | <tr><td>PHP</td><td>5.2.9</td><td></td></tr> | + | <tr><td>PHP</td><td>5.2.9 or higher version</td><td></td></tr> |
<tr><td>Python</td><td>2.5.2 or higher 2.X version</td><td></td></tr> | <tr><td>Python</td><td>2.5.2 or higher 2.X version</td><td></td></tr> | ||
<tr><td>MySQL</td><td>5.0.88</td><td></td></tr> | <tr><td>MySQL</td><td>5.0.88</td><td></td></tr> | ||
Line 63: | Line 63: | ||
</table> | </table> | ||
<h2>2.Deployment</h2> | <h2>2.Deployment</h2> | ||
+ | <p>Firstly, you need to execute the shell script, 'install.sh' under 'server' folder, which helps you to install dependencies automatically and compile our auxiliary programs. Then goes to database and server configure. </p> | ||
<p>For database, CasDB, please fellow this instruction step by step:</p> | <p>For database, CasDB, please fellow this instruction step by step:</p> | ||
<p>1.On your server, unpack the source code, redirect into the folder <span style="color:#8fc41f">'CasDB'</span> under <span style="color:#8fc41f">'server'</span> directory. Please pay attention that the compressed file <span style="color:#8fc41f">'CasDB.tar.gz'</span> is for our automatic test on Travis CI. It’s useless for CasDB deployment! </p> | <p>1.On your server, unpack the source code, redirect into the folder <span style="color:#8fc41f">'CasDB'</span> under <span style="color:#8fc41f">'server'</span> directory. Please pay attention that the compressed file <span style="color:#8fc41f">'CasDB.tar.gz'</span> is for our automatic test on Travis CI. It’s useless for CasDB deployment! </p> | ||
Line 91: | Line 92: | ||
<p>5.Configure the python script, <span style="color:#8fc41f">'sgRNAimport.py'</span>. Just as above modify one line according your environment and setup:<br/><b>db = MySQLdb.connect("YOUR-DB-HOST","DB-USERNAME","DB-PASSWD","DB-NAME" )</b></p> | <p>5.Configure the python script, <span style="color:#8fc41f">'sgRNAimport.py'</span>. Just as above modify one line according your environment and setup:<br/><b>db = MySQLdb.connect("YOUR-DB-HOST","DB-USERNAME","DB-PASSWD","DB-NAME" )</b></p> | ||
<p>Then run this python script by typing <span style="color:#8fc41f">'python sgRNAimport.py'</span> in command line interface. This script will work automatically to recognize the species name and chromosomes. Besides this, sgRNA will be found and inserted into CasDB. But it may take some time.</p> | <p>Then run this python script by typing <span style="color:#8fc41f">'python sgRNAimport.py'</span> in command line interface. This script will work automatically to recognize the species name and chromosomes. Besides this, sgRNA will be found and inserted into CasDB. But it may take some time.</p> | ||
- | <p>For server, | + | <p>For server, you must configure PHP scripts manually. It’s very easy. Just modify <span style="color:#8fc41f">'server/config.php'</span> according to guides in the source file. </p> |
</div> | </div> | ||
<!-- Fixed Navigation bar --> | <!-- Fixed Navigation bar --> | ||
Line 132: | Line 133: | ||
</ul> | </ul> | ||
</div> | </div> | ||
- | <img src="https://static.igem.org/mediawiki/2014/c/c5/2014-UESTC-Software-Top.png" id="top" onclick="javascript:$('#dAPK,#dPC').animate({scrollTop:0},700)"> | + | <img src="https://static.igem.org/mediawiki/2014/c/c5/2014-UESTC-Software-Top.png" id="top" onclick="javascript:$('#dAPK,#dPC,#dSV').animate({scrollTop:0},700)"> |
<div id="logoRay" style="width:86px;height:86px;border-radius:1000px;position:fixed;bottom:-20px;z-index: 999999;"></div> | <div id="logoRay" style="width:86px;height:86px;border-radius:1000px;position:fixed;bottom:-20px;z-index: 999999;"></div> | ||
<a href="https://2014.igem.org/Team:UESTC-Software"><img src="https://static.igem.org/mediawiki/2014/e/e5/2014_UESTC_Software_logo.gif" id="logo" style="border-radius: 90px;width:100px;height:100px;position:fixed;bottom:-20px;z-index: 999999;"/></a> | <a href="https://2014.igem.org/Team:UESTC-Software"><img src="https://static.igem.org/mediawiki/2014/e/e5/2014_UESTC_Software_logo.gif" id="logo" style="border-radius: 90px;width:100px;height:100px;position:fixed;bottom:-20px;z-index: 999999;"/></a> |
Latest revision as of 19:10, 17 October 2014
Android
Desktop
Server