<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hey Valerio,<br>
      <br>
      here's a tip for you, for development purposes, use the django's
      development server which avoids you the pain of setting up apache
      ecc.<br>
      <br>
      Just follow the instructions contained in the README.md<br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a
        href="https://github.com/ninuxorg/nodeshot/blob/master/README.md">https://github.com/ninuxorg/nodeshot/blob/master/README.md</a><br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <h2 style="margin-top: 20px; margin-right: 0px; margin-bottom:
        10px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
        padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;
        border-right-width: 0px; border-bottom-width: 1px;
        border-left-width: 0px; border-style: initial; border-color:
        initial; border-image: initial; font-weight: bold;
        -webkit-font-smoothing: antialiased; cursor: text; position:
        relative; font-size: 24px; border-bottom-style: solid;
        border-bottom-color: rgb(204, 204, 204); color: rgb(0, 0, 0);
        font-family: Helvetica, arial, freesans, clean, sans-serif;
        font-style: normal; font-variant: normal; letter-spacing:
        normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; ">DEVELOPMENT INSTALLATION</h2>
      <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px;
        margin-left: 0px; padding-top: 0px; padding-right: 0px;
        padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;
        border-right-width: 0px; border-bottom-width: 0px;
        border-left-width: 0px; border-style: initial; border-color:
        initial; border-image: initial; color: rgb(51, 51, 51);
        font-family: Helvetica, arial, freesans, clean, sans-serif;
        font-size: 14px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height: 22px;
        orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; ">If you want to do a quick
        install to play with nodeshot just follow this routine:</p>
      <pre style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 6px; padding-right: 10px; padding-bottom: 6px; padding-left: 10px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; border-image: initial; font-size: 13px; font-family: Consolas, 'Liberation Mono', Courier, monospace; background-color: rgb(248, 248, 248); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); line-height: 19px; overflow-x: auto; overflow-y: auto; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spac
ing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; border-image: initial; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; white-space: pre; border-width: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-width: initial; background-position: initial initial; back
ground-repeat: initial initial; ">git clone git://github.com/ninuxorg/nodeshot.git mapserver
cd mapserver
pip install -r requirements.txt
cp settings.example.py settings.py

./manage.py syncdb && ./manage.py collectstatic && ./manage.py runserver
</code></pre>
      <p style="margin-top: 15px; margin-right: 0px; margin-bottom:
        15px; margin-left: 0px; padding-top: 0px; padding-right: 0px;
        padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;
        border-right-width: 0px; border-bottom-width: 0px;
        border-left-width: 0px; border-style: initial; border-color:
        initial; border-image: initial; color: rgb(51, 51, 51);
        font-family: Helvetica, arial, freesans, clean, sans-serif;
        font-size: 14px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height: 22px;
        orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; ">Enjoy on
        <a class="moz-txt-link-freetext" href="http://localhost:8000/">http://localhost:8000/</a> ! Admin site is at
        <a class="moz-txt-link-freetext" href="http://localhost:8000/admin/">http://localhost:8000/admin/</a></p>
      <br>
      <br>
      <br>
      Il 10/25/2012 08:13 PM, Valerio ha scritto:<br>
    </div>
    <blockquote cite="mid:5089813E.8060208@autoproduzioni.net"
      type="cite">
      <pre wrap="">Hi, still having problems...i solved the one before.

File "/srv/http/mapserver/mapserver/settings.py", line 56, in <module>
    raise ImproperlyConfigured(_('NODESHOT_SITE is not defined in your
settings.py. See settings.example.py for reference.'))
django.core.exceptions.ImproperlyConfigured:
<django.utils.functional.__proxy__ object at 0x116ee50>


when running python2.7 manage.py syncdb or python settings.py
now it's
NODESHOT_SITE = {
    'name': 'Nodeshot',
    'domain': 'domain.com'
}
but also with a valid domain doesn't work.

and also

when i'm on <a class="moz-txt-link-freetext" href="http://localhost/mapserver/mapserver/admin.py">http://localhost/mapserver/mapserver/admin.py</a>

  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 40, in _setup
    raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE)

ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.


Maybe I'll clean-up everything and start again if you don't have any idea
Thanks
Valo


On 25/10/2012 15:31, Valerio wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi, obviously, had to set up nodeshot to run on my machine to test this
and here comes problems.
I installed django, mod_python ecc.. but I can't run nodeshot. I followed
<a class="moz-txt-link-freetext" href="http://wiki.ninux.org/InstallNodeshot#Install_nodeshot">http://wiki.ninux.org/InstallNodeshot#Install_nodeshot</a> but my web server
(apache  on archlinux) doesn't run python code, just showing plain text.

In my httpd.conf i have both
LoadModule python_module modules/mod_python.so
LoadModule wsgi_module modules/mod_wsgi.so

and

<Directory /srv/http>
   AddHandler mod_python .py
   PythonHandler mod_python.publisher
   PythonDebug On
</Directory>
<Directory /srv/http>
   AddHandler mod_wsgi.so .py
   PythonHandler mod_python.publisher
   PythonDebug On
</Directory>

I don't think is correct to have both but i tried them one by one and
none worked neither together.

This is what says when there is a 404
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.1c DAV/2 PHP/5.4.8
mod_python/3.3.1 Python/2.7.3 mod_wsgi/3.4

Could be the different version of mod python and Python  a problem?

Tanks
Regardind the issue: I did everything nemesis said just waiting for
nodeshot to work to test


On 21/10/2012 23:44, Nemesis wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Valerio, thank you for joining.

I'll explain you what you need to do:

 1. First of all, if you don't have it, make an account on github
 2. fork nodeshot
 3. now in your repository, give this commit:
    git remote add <remote_name> <your_fork_url>
    remote name usually is origin, but pheraphs you already have
    origin so you should use something different. If you want to use
    origin you'll have to give another command "git remote set-url
    origin <new_url>
    regarding the URL
    in place of <your_fork_url> you'll have to put the git URL of your
    forked repository. Better if it uses the git protocol and don't
    forget to upload your public SSH key to github (checkout your
    profile/account settings)
 4. now check out the django {% trans %} template tag, which is what
    you have to use to make strings translatable (like in this case)
    by the django internationalization system in templates
    <a class="moz-txt-link-freetext" href="https://docs.djangoproject.com/en/1.2/topics/i18n/internationalization/#trans-template-tag">https://docs.djangoproject.com/en/1.2/topics/i18n/internationalization/#trans-template-tag</a>
 5. then check out this file:
    <a class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot/blob/master/locale/it/LC_MESSAGES/django.po">https://github.com/ninuxorg/nodeshot/blob/master/locale/it/LC_MESSAGES/django.po</a>
    that's were translation strings must be added, it's fairly easy to
    figure out how it works and what you need to add
 6. after editing the .po file you'll have to compile the strings by
    running django-admin.py compilemessages as described in
    <a class="moz-txt-link-freetext" href="https://docs.djangoproject.com/en/dev/topics/i18n/translation/#compiling-message-files">https://docs.djangoproject.com/en/dev/topics/i18n/translation/#compiling-message-files</a>
 7. check out everything works as expected, that is if you set your
    settings.py file to use italian you should see the string in
    italian, otherwise in english
 8. when you're sure changes work as expected, stage the files to commit:
    git status
    git add <file1>
    git add <file2>
    etc..
    git commit
    git push origin master
 9. now submit a pull request to the dev branch of the main repository

That's it. It's actually faster to do it than explaining it really.

Fed.

Il 10/21/2012 04:43 PM, Alexander Bauer ha scritto:
</pre>
          <blockquote type="cite">
            <pre wrap="">Valerio,

With Git, (and GitHub in particular,) you should fork the repository,
first. That'll create a copy of it owned by your GitHub account.
Then, you can clone that to your computer and make any changes you
like. Once you've made some commits, you can push them back to your
repository with "git push origin master".

(Origin is git's name for the repository you cloned from. You can
also set "upstream" to the official repository with "git remote add
upstream <a class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot.git">https://github.com/ninuxorg/nodeshot.git</a>", and then pull
changes from there with "git pull upstream master".)

Sasha

On 10/21/2012 09:33 AM, Valerio wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hi, i'm quiet new on git but i'd like to help.
I cloned the master branch on my computer, i edited the #52 line(Just
changed Cerca nodo, ip with Search node, ip....)[did i get the point?],
i made git commit -m "my comment" and now how can i submit?
Thanks
On 20/10/2012 19:50, Nemesis wrote:
</pre>
              <blockquote type="cite">
                <pre wrap="">Hi guys,

there's a little issue that is quite trivial to solve.

It is described here:
<a class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot/issues/100">https://github.com/ninuxorg/nodeshot/issues/100</a>

And the line to fix is this one:
<a class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot/blob/master/nodeshot/templates/ajax/node_info.html#L52">https://github.com/ninuxorg/nodeshot/blob/master/nodeshot/templates/ajax/node_info.html#L52</a>

It's very easy to fix!

I'd like to encourage users of nodeshot to contribute to the software.

I understand that to design and implement complex functionalities like
the ones i'm working on the refactoring branch requires a lot of
experience and time, therefore I won't ask you to do that, but please,
contribute to fix the small issues, it can be an optimum way to start
collaborating.

If anyone is interested in learning something new, come and join me,
fork the project on github and I'll give you the links that explain
how to fix that issue.

Installing nodeshot for development work is very easy, it takes 2
minutes, follow the instructions "Development Installation" here:
<a class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot/blob/master/README.md">https://github.com/ninuxorg/nodeshot/blob/master/README.md</a>

Come on, come on, come on


_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
              </blockquote>
              <pre wrap="">
_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
            </blockquote>
            <pre wrap="">

_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
          </blockquote>
          <pre wrap="">

_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
        </blockquote>
        <pre wrap="">

_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nodeshot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nodeshot@ml.ninux.org">Nodeshot@ml.ninux.org</a>
<a class="moz-txt-link-freetext" href="http://ml.ninux.org/mailman/listinfo/nodeshot">http://ml.ninux.org/mailman/listinfo/nodeshot</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>