Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
f5245b47
Commit
f5245b47
authored
Oct 11, 2011
by
Kostas Papadimitriou
Browse files
Document static files changes in README.upgrade
parent
b14dbf03
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.upgrade
View file @
f5245b47
...
...
@@ -24,6 +24,16 @@ COMPONENTS
the value of settings.d/10-backend.conf:GANETI_CREATEINSTANCE_KWARGS
to use 'snf-image+default'.
UI STATIC FILES
* A major reorganization of static files has been commited. All ui and
invitations static files has been moved in their own separate directory
(ui/static/snf, ui/static/invitations).
* UI static files base url is now configurable via UI_MEDIA_URL.
* A symlink named after the current version of the ui application has been
committed in ui/static directory. The symlink will get updated after each
version upgrade to allow us provide unique urls of static files between
after each upgrade, see #1460.
NEW/UPDATED SETTINGS
* EMAIL_SUBJECT_PREFIX:
Prepended to automated emails, set to someting that uniquely identifies
...
...
@@ -47,8 +57,17 @@ NEW/UPDATED SETTINGS
error overlay.
* UI_HANDLE_WINDOW_EXCEPTIONS in 30-ui.conf:
Whether UI should display error overlay for all Javascript exceptions.
* UI_MEDIA_URL in 30-ui.conf:
Base url for ui static files,
defaults to MEDIA_URL + 'snf-<latest_ui_version>/'.
* MEDIA_URL changed in 00-site.conf:
Changed to '/static/' since it is now used in ui app.
* TEMPLATE_CONTEXT_PROCESSORS changed in 00-apps.conf:
added 'django.core.context_processors.media' to allow access of MEDIA_URL
in template files.
* GANETI_CREATEINSTANCE_KWARGS in 10-backend.conf:
Must be updated to use snf-image as the Ganeti OS provider.
DB MIGRATION
* Uniqueness constraints have been added to the metadata models.
...
...
settings.d/30-ui.conf
View file @
f5245b47
...
...
@@ -4,6 +4,7 @@
###################
# base url for ui static files
# if not set, defaults to MEDIA_URL + 'snf-<latest_ui_version>/'
#UI_MEDIA_URL = MEDIA_URL + 'snf/'
# UI requests to the API layer time out after that many milliseconds
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment