Difference between revisions of "Maker Network"

From Pumping Station One
Jump to navigation Jump to search
m (Robot: Cosmetic changes)
 
Line 12: Line 12:
 
</nowiki></code>
 
</nowiki></code>
  
get the code from github (https://github.com/tsaylor/Maker-Network) and cd into the top level directory.
+
get the code from github (https://github.com/tsaylor/Maker-Network) and cd into the top level directory.  
  
 
from inside your virtualenv install the requirements using pip and the requirements file
 
from inside your virtualenv install the requirements using pip and the requirements file
Line 20: Line 20:
 
</nowiki></code>
 
</nowiki></code>
  
Now cd into the project directory and create your local_settings.py file. You can probably just rename the example file.
+
Now cd into the project directory and create your local_settings.py file. You can probably just rename the example file.
  
 
<code><nowiki>
 
<code><nowiki>
Line 33: Line 33:
  
  
==Useful stuff==
+
== Useful stuff ==
 
When testing, use these email settings in local_settings.py
 
When testing, use these email settings in local_settings.py
  

Latest revision as of 00:15, 18 March 2014

developer quickstart

install through your package manager or with easy_install:

  • virtualenv
  • virtualenvwrapper
  • pip

create a virtualenv for the maker network

mkvirtualenv --no-site-packages maker-network

get the code from github (https://github.com/tsaylor/Maker-Network) and cd into the top level directory.

from inside your virtualenv install the requirements using pip and the requirements file

pip install -r requirements.pip

Now cd into the project directory and create your local_settings.py file. You can probably just rename the example file.

mv local_settings.py.example local_settings.py

Now you're ready to run the development server

python manage.py runserver


Useful stuff

When testing, use these email settings in local_settings.py

EMAIL_HOST = 'localhost' EMAIL_PORT = 1025

Then run this command in a terminal window to receive any emails sent by your app

python -m smtpd -n -c DebuggingServer localhost:1025