Difference between revisions of "Team:Michigan Software/Installation"
Line 13: | Line 13: | ||
</ul> | </ul> | ||
<h4>Django</h4> | <h4>Django</h4> | ||
− | < | + | <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
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
- Open Command Prompt(Windows) or Terminal (Mac)
- Use "pip install django" to install the main Django packages
- 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
- 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"