Recurring question. Automate manage.py syncdb

29 views
Skip to first unread message

Rubén Ortiz

unread,
Jun 20, 2014, 12:31:48 PM6/20/14
to django...@googlegroups.com
Hi

I have to automate a kind of django setup in linux ubuntu box. The project runs under virtualenv. Then my main problem is when I have to execute the famous:

    $ python $VIRTUAL_ENV/opt/graphite/webapp/graphite/manage.py syncdb --pythonpath=$VIRTUAL_ENV/opt/graphite/webapp -v 2

I am very noob with python but I don't want to maintain dumps or workarounds with expect. I have found some info in stackoverflow but I don't know how to apply it.


Does anybody knows what I have to do? Goal is run manage.py syncb and in some way automate the send of user,password and email to python script. 

Thanks

Ariel Calzada

unread,
Jun 20, 2014, 12:44:38 PM6/20/14
to django-users
I hope this helps you


Greetings from Colombia
ARIEL


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ac7cdcba-52cc-4e1d-842a-cd440bc0167a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ariel Calzada

No sabré desatarme los zapatos y dejar que la ciudad me muerda los pies
no me emborracharé bajo los puentes, no cometeré faltas de estilo.
Acepto este destino de camisas planchadas,
llego a tiempo a los cines, cedo mi asiento a las señoras.
El largo desarreglo de los sentidos me va mal. Opto
por el dentífrico y las toallas. Me vacuno.
Mira qué pobre amante, incapaz de meterse en una fuente
para traerte un pescadito rojo
bajo la rabia de gendarmes y niñeras.

-- EL NIÑO BUENO / Julio Cortazar --
Reply all
Reply to author
Forward
0 new messages