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
9ad1241d
Commit
9ad1241d
authored
Nov 24, 2011
by
Kostas Papadimitriou
Browse files
Moved synnefo package in a nested directory
since more than one packages exist in repository root
parent
138c09a4
Changes
615
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
9ad1241d
...
...
@@ -17,5 +17,5 @@ selenium-server-standalone-2.0b2.jar
.settings/
settings.d/*-local.conf
*.egg-info
/
dist
dist
_build
runtests.sh
View file @
9ad1241d
...
...
@@ -37,8 +37,9 @@
set
-e
echo
"Running Django tests..."
>
&2
python synnefo/manage.py
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.settings.test
echo
"Running snf-app tests..."
>
&2
export
PYTHONPATH
=
$PYTHONPATH
:./snf-app
python snf-app/synnefo/manage.py
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.settings.test
echo
"Running snf-ganeti-tools tests..."
>
&2
PYTHONPATH
=
snf-ganeti-tools:
$PYTHONPATH
./snf-ganeti-tools/test/synnefo.ganeti_unittest.py
...
...
Changelog
→
snf-app/
Changelog
View file @
9ad1241d
File moved
MANIFEST.in
→
snf-app/
MANIFEST.in
View file @
9ad1241d
File moved
README
→
snf-app/
README
View file @
9ad1241d
File moved
distribute_setup.py
→
snf-app/
distribute_setup.py
View file @
9ad1241d
File moved
docs/Makefile
→
snf-app/
docs/Makefile
View file @
9ad1241d
File moved
docs/_static/sample_settings.conf
→
snf-app/
docs/_static/sample_settings.conf
View file @
9ad1241d
File moved
docs/_static/synnefo.nginx.conf
→
snf-app/
docs/_static/synnefo.nginx.conf
View file @
9ad1241d
File moved
docs/_static/users.json
→
snf-app/
docs/_static/users.json
View file @
9ad1241d
File moved
docs/conf.py
→
snf-app/
docs/conf.py
View file @
9ad1241d
File moved
docs/index.rst
→
snf-app/
docs/index.rst
View file @
9ad1241d
File moved
docs/src/admin.rst
→
snf-app/
docs/src/admin.rst
View file @
9ad1241d
File moved
docs/src/changelog.rst
→
snf-app/
docs/src/changelog.rst
View file @
9ad1241d
File moved
docs/src/ci.rst
→
snf-app/
docs/src/ci.rst
View file @
9ad1241d
File moved
docs/src/configuration.rst
→
snf-app/
docs/src/configuration.rst
View file @
9ad1241d
...
...
@@ -3,24 +3,45 @@
Configuration
=============
.. _settings-guide:
Customizing Synnefo settings
----------------------------
Synnefo package bundles a `Django` project with predefined common `settings`
and `urls` set. The corresponding `Django` ``manage.py`` for the bundled project is
``synnefo-manage`` which after the package installation should be available as a
command from your system's terminal.
To ease up the configuration of the application Synnefo includes settings
defined in ``/etc/synnefo/*.conf`` files.
defined in ``/etc/synnefo/*.conf`` files. The location can be altered by
setting an enviromental variable named ``SYNNEFO_SETTINGS_DIR`` to the
appropriate path, or by using the ``--settings-dir`` option of the
``synnefo-manage`` tool.
Synnefo package bundles a `Django` project with predefined common `settings`
and `urls` set. The corresponding ``manage.py`` for the bundled project is
``synnefo-manage``. After the package installation the tool should be available
as a command from your system's terminal. Due to this nature of `synnefo-manage`
it is possible to alter settings not only using ``.conf`` files but also by
providing a custom python module by using ``DJANGO_SETTINGS_MODULE``
evnironmental variable or ``--settings`` option of the tool.
.. seealso::
https://docs.djangoproject.com/en/dev/topics/settings/
If you are using a custom settings module, you are strongly encouraged to
import the synnefo default settings prior to your customized ones e.g. :
.. code-block:: python
from synnefo.settings import *
CUSTOM_SETTING1 = "...."
CUSTOM_SETTING2 = "...."
.. _database-configuration:
Database configuration
----------------------
Add the following to your custom settings
.py
, depending on your choice
Add the following to your custom
:ref:`
settings
<settings-guide>`
, depending on your choice
of DB:
SQLite
...
...
docs/src/deployment.rst
→
snf-app/
docs/src/deployment.rst
View file @
9ad1241d
File moved
docs/src/develop.rst
→
snf-app/
docs/src/develop.rst
View file @
9ad1241d
...
...
@@ -9,13 +9,19 @@ It should be read alongside :ref:`installation guide <installation>`.
It contains development-specific ammendments to the basic installation steps
outlined in `installation guide <installation>`, and development-specific notes.
Installing the development environment
--------------------------------------
Prerequisites
-------------
For a basic development environment you need to follow steps
of `installation guide <installation>`, which should be read in its
entirety *before* this document.
Setting up development environment
----------------------------------
Although not necessary it is
Development-specific guidelines on each step:
...
...
docs/src/i18n.rst
→
snf-app/
docs/src/i18n.rst
View file @
9ad1241d
File moved
docs/src/install.rst
→
snf-app/
docs/src/install.rst
View file @
9ad1241d
File moved
Prev
1
2
3
4
5
…
31
Next
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