[Nodeshot] Little issue, easy to solve, please participate
Valerio
valo at autoproduzioni.net
Thu Oct 25 15:31:27 CEST 2012
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
http://wiki.ninux.org/InstallNodeshot#Install_nodeshot 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:
> 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
> https://docs.djangoproject.com/en/1.2/topics/i18n/internationalization/#trans-template-tag
> 5. then check out this file:
> https://github.com/ninuxorg/nodeshot/blob/master/locale/it/LC_MESSAGES/django.po
> 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
> https://docs.djangoproject.com/en/dev/topics/i18n/translation/#compiling-message-files
> 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:
>> 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 https://github.com/ninuxorg/nodeshot.git", and then pull
>> changes from there with "git pull upstream master".)
>>
>> Sasha
>>
>> On 10/21/2012 09:33 AM, Valerio wrote:
>>> 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:
>>>> Hi guys,
>>>>
>>>> there's a little issue that is quite trivial to solve.
>>>>
>>>> It is described here:
>>>> https://github.com/ninuxorg/nodeshot/issues/100
>>>>
>>>> And the line to fix is this one:
>>>> https://github.com/ninuxorg/nodeshot/blob/master/nodeshot/templates/ajax/node_info.html#L52
>>>>
>>>> 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:
>>>> https://github.com/ninuxorg/nodeshot/blob/master/README.md
>>>>
>>>> Come on, come on, come on
>>>>
>>>>
>>>> _______________________________________________
>>>> Nodeshot mailing list
>>>> Nodeshot at ml.ninux.org
>>>> http://ml.ninux.org/mailman/listinfo/nodeshot
>>>
>>>
>>> _______________________________________________
>>> Nodeshot mailing list
>>> Nodeshot at ml.ninux.org
>>> http://ml.ninux.org/mailman/listinfo/nodeshot
>>
>>
>>
>> _______________________________________________
>> Nodeshot mailing list
>> Nodeshot at ml.ninux.org
>> http://ml.ninux.org/mailman/listinfo/nodeshot
>
>
>
> _______________________________________________
> Nodeshot mailing list
> Nodeshot at ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/nodeshot
--
Valerio Baldisserotto
--
www.eigenlab.org
--
www.autistici.org/mailman/listinfo/ascia
--
"It must be inconvenient to be made of flesh," said the Scarecrow thoughtfully, "for you must sleep, and eat and drink. However, you have brains, and it is worth a lot of bother to be able to think properly."
[The Wonderful Wizard of Oz]
--
Please avoid sending me Word or PowerPoint attachments,it is a secret proprietary format, so it is hard for me to read. If you send me plain text, HTML, PDF, or ODF then I will read it without any problem.
See http://www.gnu.org/philosophy/no-word-attachments.html
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://ml.ninux.org/pipermail/nodeshot/attachments/20121025/2a806506/attachment-0001.sig>
More information about the Nodeshot
mailing list