README: missing commands added. MyAccount:outlined how to preserver usr_hrn while...
authorYasin <mohammed-yasin.rahman@lip6.fr>
Fri, 15 Nov 2013 09:39:15 +0000 (10:39 +0100)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Fri, 15 Nov 2013 09:39:15 +0000 (10:39 +0100)
README
portal/accountview.py

diff --git a/README b/README
index 3a894cc..3c0f943 100644 (file)
--- a/README
+++ b/README
@@ -16,6 +16,7 @@ See the devel/ subdir for more devel-oriented doc.
 
 * edit myslice/config.py and enter the details of your manifold backend
 
+$ apt-get install python-django-south
 * init django
 $ ./manage.py syncdb
 $ ./manage.py migrate
@@ -43,7 +44,7 @@ $ make redo == make redo-static redo-templates
 
 
 * run a local server:
-$ manage.py runserver 0.0.0.0:8000
+$ ./manage.py runserver 0.0.0.0:8000
 -- or -- my advice:
 $ devel/server-loop.sh
 when you just need to hit ^C yourself when your static files need to be refreshed - see below
index d4b68f4..d9666cb 100644 (file)
@@ -161,6 +161,9 @@ def account_process(request):
 #                        private_key = k.as_pem()
 #                        private_key = ''.join(private_key.split())
 #                        public_key = "ssh-rsa " + public_key
+                        # now we overwrite the config field with keypair
+                        # once there will be user_hrn, we need to keep user_hrn and change only the keypair
+                        # see submit_name section for implementing this    
                         keypair = '{"user_public_key":'+ public_key + ', "user_private_key":'+ private_key + '}'
 #                       keypair = re.sub("\r", "", keypair)
 #                       keypair = re.sub("\n", "\\n", keypair)