redsolutioncms.django-server-config

Screenshot der Software:
redsolutioncms.django-server-config
Softwarebeschreibung:
Version: 0.1.4
Upload-Datum: 11 May 15
Entwickler: Ivan Gromov
Lizenz: Frei
Popularität: 2

Rating: nan/5 (Total Votes: 0)

redsolutioncms.django-server-config ist nützlich für die Deployment-Server-Installation, und sie:
* Management-Befehl Fügt configs für Ihr Projekt zu machen. Nun kann es Config für lighttpd, logrotate, monit erzeugen und bereitstellen Skripte.
& Nbsp; * Automatische Erkennung Medienverzeichnisse in 3-Party-Anwendungen und bringt sie zu berücksichtigen.
Installation:
In settings.py:
& Nbsp; 1. Put config, um Ihre INSTALLED_APPS.
& Nbsp; 2. Stellen Sie Domain-Namen für Ihr Projekt
& Nbsp; CONFIG_SITES = ['www.project-name.com',]
& Nbsp; 3. Domains, für die Sie leitet auf Ihre Website
& Nbsp; CONFIG_REDIRECTS = ['project-name.com',]
& Nbsp; 4. Set Pfad zu Medien für außergewöhnliche 3-Party-Anwendung
& Nbsp; CONFIG_APP_MEDIA = {
& Nbsp; "Anwendungsname ': [
& Nbsp; ('Medien-root "," Medien-url "),
& Nbsp;]
& Nbsp;}
Medienordner mit demselben Namen wie modulde Anwendung wird automatisch eingefügt. Beispielsweise in Tinymce Modul Mediendateien
tinymce /
& Nbsp; Medien /
& Nbsp; tinymce /
& Nbsp; js / tinymce.js
& Nbsp; css / style.css
wird an url sein
& Nbsp; /media/tinymce/js/tinymce.js /media/tinymce/css/style.js
In urls.py:
& Nbsp; 5. In config urls.py für statische Dateien dienen im Debug-Modus. Fügen sie vor django.views.static.serve
& Nbsp; wenn settings.DEBUG:
& Nbsp; urlpatterns + = Muster ('', (r '^', include ('config.urls')))
In buildout.cfg:
& Nbsp; 6. Wenn Sie mit zc.buildout, können Sie Ihre Teile hinzufügen Als-config, um Konfigurationsdateien automatisch zu machen:
& Nbsp; [Make-config]
& Nbsp; Rezept = iw.recipe.cmd
& Nbsp; on_install = true
& Nbsp; on_update = true
& Nbsp;. Cmds = sudo rm -f bin / init.d bin / lighttpd bin / logrotate bin / monit bin / * py
& Nbsp; bin / django make_config init.d> bin / init.d
& Nbsp; bin / django make_config lighttpd> bin / lighttpd
& Nbsp; bin / django make_config logrotate> bin / logrotate
& Nbsp; bin / django make_config monit> bin / monit
& Nbsp; bin / django make_config install.py> bin / install.py
& Nbsp; bin / django make_config uninstall.py> bin / uninstall.py
& Nbsp; bin / django make_config enable.py> bin / enable.py
& Nbsp; bin / django make_config disable.py> bin / disable.py
& Nbsp; sudo chown root: root bin / *
& Nbsp; sudo chmod ug = rw, o = r bin / *
& Nbsp; sudo chmod ug = rwx, o = rx bin / init.d bin / django bin / Ausbau-
& Nbsp; echo Configs wurden gespeichert in "bin /"

Was ist neu in dieser Pressemitteilung:

  • Backup Config Bugfixes

Was ist neu in Version 0.1.3:

  • Notfall lighttpd Konfiguration fix (staticfiles hat nicht funktioniert ), verwenden Sie nicht v0.1.1!

Was ist neu in Version 0.1.2:

  • DUPLY Backups unterstützt

Was ist neu in Version 0.1.1:

  • Staticfiles Unterstützung hinzugefügt

Anforderungen :

  • Python
  • Django

Andere Software von Entwickler Ivan Gromov

Kommentare zu redsolutioncms.django-server-config

Kommentare nicht gefunden
Kommentar hinzufügen
Schalten Sie auf die Bilder!