1. Sergio Berlotto
  2. allsites

Commits

Sergio Berlotto  committed 6d192ff Draft

Statics e hgignore

  • Participants
  • Parent commits 81b4c1d
  • Branches default

Comments (0)

Files changed (9)

File .hgignore

View file
+
+^\.pyc/
+^static/

File allsites/__init__.pyc

Binary file removed.

File allsites/settings.py

View file
 # Don't put anything in this directory yourself; store your static files
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
 # Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = os.path.join( ROOT_DIR, "themes", SITE_THEME_NAME, 'static' )
+STATIC_ROOT = os.path.join( ROOT_DIR, 'static' )
 
 # URL prefix for static files.
 # Example: "http://media.lawrence.com/static/"
     # Put strings here, like "/home/html/static" or "C:/www/django/static".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
+    os.path.join( ROOT_DIR, "themes", SITE_THEME_NAME, 'static' ),
 )
 
 # List of finder classes that know how to find static files in

File allsites/settings.pyc

Binary file removed.

File allsites/urls.pyc

Binary file removed.

File allsites/views.pyc

Binary file removed.

File allsites/wsgi.pyc

Binary file removed.

File readme.md

View file
-''Requerimentos''
+**Requerimentos**
 
 * Django 1.4
 
-''Instalação''
+**Instalação**
 
-''Rodar''
+*Rodar*
 
 Primeiro você deve configurar as opções:
 
 
 - Para criar o banco de dados e o usuário administrador:
 
-python manage.py syncdb 
+  python manage.py syncdb 
 
 - Para os arquivos estásticos 
 
-python manage.py collectstatic 
+  python manage.py collectstatic 
 
 - Para rodar em desenvolvimento:
 
-python manage.py runserver
+  python manage.py runserver

File themes/default/static/js/theme.js

View file
+//Um simples arquivo js.