Come creare un ambiente PyRM
~ $ Virtualenv pyrm_env
~ $ Cd pyrm_env / bin /
~ / Pyrm_env / bin $ fonte attivare
(Pyrm_env) ~ / pyrm_env / bin $ ./pip install verbose django-reversion
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare xhtml2pdf --verbose
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare --verbose git -e + git: //github.com/django/django.git@1.3.X#egg=django
senza diritto di commettere:
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare --verbose git -e + git: //github.com/jedie/django-tools.git#egg=django-tools
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare --verbose git -e + git: //github.com/jedie/python-creole.git#egg=python-creole
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare --verbose git -e + git: //github.com/jedie/PyRM.git#egg=pyrm
Con commit diritti:
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare --verbose -e git+git@github.com: jedie / django-tools.git # uovo = django-tools
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare verbose -e git+git@github.com: jedie / python-creole.git # uovo = python-creolo
(Pyrm_env) ~ / pyrm_env / bin $ ./pip installare verbose -e git+git@github.com: jedie / PyRM.git # uovo = pyrm
(Pyrm_env) ~ / pyrm_env / bin $ cd ~ / pyrm_env / src / pyrm / TestProject
(Pyrm_env) ~ / pyrm_env / src / pyrm / TestProject $ ./manage.sh syncdb
(Pyrm_env) ~ / pyrm_env / src / pyrm / TestProject $ ./manage.sh runserver
Lavare e ricreare database e utente di prova con:
(Pyrm_env) ~ / pyrm_env / src / pyrm / TestProject $ ./reinit.py
Avviare un server "pubblico" (non per gli ambienti produttiv!) Con:
(Pyrm_env) ~ / pyrm_env / src / pyrm / TestProject $ ./standalone_linux.sh
È necessario creare un proprio local_settings.py in voi directory del progetto. es .:
(Pyrm_env) ~ / pyrm_env / src / pyrm / TestProject $ touch local_settings.py
Requisiti
- Python
- Django
Limitazioni .
- Questa applicazione è per gli utenti tedeschi, ma
I commenti non trovato