Difference between revisions of "Team:Michigan Software/Installation"
Line 8: | Line 8: | ||
<h4> Python and Pip </h4> | <h4> Python and Pip </h4> | ||
<ul> | <ul> | ||
− | <li>Run Python 3.4.3 installer from | + | <li>Run the Python 3.4.3 installer from <a href="https://www.python.org/downloads/release/python-343/">here</a></li> |
<li>Make sure Add Python to PATH is enabled</li> | <li>Make sure Add Python to PATH is enabled</li> | ||
− | <li>Newer releases of Python come with Pip installed</li> | + | <li>Newer releases of Python come with Pip pre-installed</li> |
</ul> | </ul> | ||
<h4>Django</h4> | <h4>Django</h4> | ||
− | < | + | <uo> |
<li>Open Command Prompt(Windows) or Terminal (Mac)</li> | <li>Open Command Prompt(Windows) or Terminal (Mac)</li> | ||
<li>Use "pip install django" to install the main Django packages</li> | <li>Use "pip install django" to install the main Django packages</li> | ||
− | <li>Other necessary installations | + | <li>Other necessary installations</li> |
− | <li> | + | <ul> |
+ | <li>Type "pip install django-nose" into the prompt</li> | ||
+ | <li>Type "pip install coverage" into the prompt</li> | ||
+ | <li>Type "pip install django-contrib-comments" into the prompt</li> | ||
+ | <li>Type "pip install pytz" into the prompt</li> | ||
</ul> | </ul> | ||
− | + | </ol> | |
− | < | + | <h4> Github </h4> |
− | < | + | <ol> |
+ | <li> Install Github from <a href="https://desktop.github.com/"> here</a> </li> | ||
+ | <li> Make sure Github has access to PATH</li> | ||
+ | </ol> | ||
+ | |||
+ | <h2>Running Protocat </h2> | ||
+ | <ol> | ||
<li>Copy the SSH URL from https://github.com/igemsoftware/Michigan15</li> | <li>Copy the SSH URL from https://github.com/igemsoftware/Michigan15</li> | ||
− | <li>Inside | + | <li>Inside Command Prompt or Terminal, cd into the directory you want the Michigan15 source file to be in</li> |
+ | <li>Type "git clone [the SSH URL]" into the terminal</li> | ||
<li>cd Michigan15/mibiosoft</li> | <li>cd Michigan15/mibiosoft</li> | ||
<li>To run, use "python manage.py runserver" and go to localhost in a web browser or server address</li> | <li>To run, use "python manage.py runserver" and go to localhost in a web browser or server address</li> | ||
<li>To run test coverage, use "python manage.py test protocat_app"</li> | <li>To run test coverage, use "python manage.py test protocat_app"</li> | ||
− | </ | + | </ol> |
Revision as of 19:00, 17 September 2015
Installation
You can download our project from our github or download the wiki freeze version here. We HIGHLY recommend downloading from GitHub, as it will be a more recent, and as a result better, version.
Things you need to install before running Protocat
Python and Pip
- Run the Python 3.4.3 installer from here
- Make sure Add Python to PATH is enabled
- Newer releases of Python come with Pip pre-installed
Django
- Type "pip install django-nose" into the prompt
- Type "pip install coverage" into the prompt
- Type "pip install django-contrib-comments" into the prompt
- Type "pip install pytz" into the prompt
Github
- Install Github from here
- Make sure Github has access to PATH
Running Protocat
- Copy the SSH URL from https://github.com/igemsoftware/Michigan15
- Inside Command Prompt or Terminal, cd into the directory you want the Michigan15 source file to be in
- Type "git clone [the SSH URL]" into the terminal
- cd Michigan15/mibiosoft
- To run, use "python manage.py runserver" and go to localhost in a web browser or server address
- To run test coverage, use "python manage.py test protocat_app"