Changeset - 282bd59b43c7
[Not reviewed]
Merge
0 1 0
James Polley - 7 years ago 2017-07-02 11:03:17
jamezpolley@gmail.com
Merge branch 'py3' into 'master'

Specify python3 when creating a virtualenv in README

See merge request !7
1 file changed with 6 insertions and 3 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
...
 
@@ -36,28 +36,31 @@ If you send the SP metadata staticly, validdity time must be removed.
 
You will also need to register your IDP metadata here either staticly or
 
remotely updated.
 

	
 
You may consider testing with testshib.
 

	
 
Configure signing and encryption keys, and configure them in the settings.py
 

	
 
VirtualEnv
 
~~~~~~~~~~
 

	
 
Not all things are lovely, so we use constraints to force the versions we
 
we wish for without having to do anything ugly.  This may require a newer
 
version of pip than is packaged with distros virtualenv
 
version of pip than is packaged with distros virtualenv.
 

	
 
- ``virtualenv2 ve2``
 
- ``source ./ve2/bin/activate``
 
Note that this application is python 3 only so you must create your virtualenv
 
with a python3 interpretter.
 

	
 
- ``virtualenv -p `which python3` venv``
 
- ``source ./venv/bin/activate``
 
- ``pip install -c constraints.txt -r requirements.txt``
 

	
 
Pre-post-start configuration
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

	
 
Now that we are ready to start the app, we need to do initial setup, start
 
it, perform voodoo string magic, run more database jingling voodoo, and then
 
we can start it up and start looking around and customising the application.
 

	
 
``./manage.py migrate``
 
``./manage.py runserver``
 

	
0 comments (0 inline, 0 general)