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
...
 
@@ -24,52 +24,55 @@ GCS
 
1. Store your Service Account JSON in a file
 
1. Set GOOGLE_APPLICATION_CREDENTIALS to your account file
 
1. Set GCS_BUCKET to your bucket name
 

	
 
SAML2
 
~~~~~
 

	
 
Please familurise yourself with Shibboleth configuraiton and the general
 
flow of how to register a SP with an IDP.
 

	
 
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``
 

	
 
Now we hit up the admin interface, find `symposion_proposals` `proposalkind`
 
and add `Talk` slug `talk`, `Tutorial`:`tutorial`, and `Miniconf`:`miniconf`.
 

	
 
Shut down and now run:
 
``./manage.py populate_inventory``
 

	
 
Now you can run the system and see how it goes.
 

	
 
Admin Credentials
 
~~~~~~~~~~~~~~~~~
 

	
 
To create a local administrator account run:
0 comments (0 inline, 0 general)