redsolutioncms.django-server-config

Software screenshot:
redsolutioncms.django-server-config
Software informatie:
Versie: 0.1.4
Upload datum: 11 May 15
Ontwikkelaar: Ivan Gromov
Licentie: Gratis
Populariteit: 2

Rating: nan/5 (Total Votes: 0)

redsolutioncms.django-server-config is nuttig voor het implementeren server installatie, en het:
* Voegt beheer opdracht om configs te maken voor uw project. Nu kan het config voor lighttpd, logrotate, monit genereren en implementeren van scripts.
& Nbsp; * automatisch herkent media directories in 3-party applicaties en neemt ze rekening.
Installatie:
In settings.py:
& Nbsp; 1. Zet config uw INSTALLED_APPS.
& Nbsp; 2. Stel domeinnamen voor uw project
& Nbsp; CONFIG_SITES = ['www.project-name.com',]
& Nbsp; 3. Domeinen waarvoor u doorverwijst naar uw site
& Nbsp; CONFIG_REDIRECTS = ['project-name.com',]
& Nbsp; 4. Stel pad naar media voor ongebruikelijke 3-party applicatie
& Nbsp; CONFIG_APP_MEDIA = {
& Nbsp; 'applicatie-naam': [
& Nbsp; ('media-root', 'media-url ",),
& Nbsp;]
& Nbsp;}
Mappen Media met dezelfde naam als de toepassing modulde worden automatisch toegevoegd. Bijvoorbeeld, in TinyMCE module mediabestanden
tinymce /
& Nbsp; media /
& Nbsp; tinymce /
& Nbsp; js / tinymce.js
& Nbsp; css / style.css
zal beschikbaar zijn op URL
& Nbsp; /media/tinymce/js/tinymce.js /media/tinymce/css/style.js
In urls.py:
& Nbsp; 5. Voeg config aan urls.py te dienen statische bestanden in debug mode. Voeg het VOORDAT django.views.static.serve
& Nbsp; Als settings.DEBUG:
& Nbsp; urlpatterns + = patronen ('', (r '^', onder meer ('config.urls')))
In buildout.cfg:
& Nbsp; 6. Als u gebruik maakt zc.buildout, kunt u toevoegen aan uw onderdelen make-config om config bestanden automatisch te maken:
& Nbsp; [make-config]
& Nbsp; recept = 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: wortel bin / *
& Nbsp; sudo chmod ug = rw, o = r bin / *
& Nbsp; sudo chmod ug = rwx, o = rx bin / init.d bin / Django bin / buildout
& Nbsp; echo Configs werden opgeslagen in "bin /"

Wat is nieuw in deze release:

  • Backup config bugfixes

Wat is nieuw in versie 0.1.3:

  • Emergency lighttpd config fix (staticfiles werkte niet ), gebruik geen v0.1.1!

Wat is nieuw in versie 0.1.2:

  • Duply backups ondersteunen

Wat is nieuw in versie 0.1.1:

  • Staticfiles ondersteuning toegevoegd

Eisen

  • Python
  • Django

Andere software van ontwikkelaar Ivan Gromov

gitrecipe
gitrecipe

15 Apr 15

django-adminstat
django-adminstat

15 Apr 15

skeletons
skeletons

14 Apr 15

Reacties op redsolutioncms.django-server-config

Reacties niet gevonden
Commentaar toe te voegen
Zet op de beelden!