Difference between revisions of "Team:Michigan Software/Installation"

Line 13: Line 13:
 
</ul>
 
</ul>
 
<h4>Django</h4>
 
<h4>Django</h4>
<uo>
+
<ol>
 
<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>

Revision as of 19:00, 17 September 2015


Michigan Software 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

  1. Open Command Prompt(Windows) or Terminal (Mac)
  2. Use "pip install django" to install the main Django packages
  3. Other necessary installations
    • 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

  1. Install Github from here
  2. Make sure Github has access to PATH

Running Protocat

  1. Copy the SSH URL from https://github.com/igemsoftware/Michigan15
  2. Inside Command Prompt or Terminal, cd into the directory you want the Michigan15 source file to be in
  3. Type "git clone [the SSH URL]" into the terminal
  4. cd Michigan15/mibiosoft
  5. To run, use "python manage.py runserver" and go to localhost in a web browser or server address
  6. To run test coverage, use "python manage.py test protocat_app"