Contributing to the MDN platform with Python and Django


(Pavan Gudiwada) #1

Hello I know python and django. I want to contribute to the code base using django but i am totally confused about it. Iv tried reaching out for many people but couldnt find any help. I visited the docs and whatcanidoformozilla site but one thing i found was to find a bug and learn to fix it. I a beginner and I dont understand any of it. Frankly its very confusing and overwhelming. I need some one to set me on the right path, guide me and teach me.


"Mozilla splash page" assessment
(Chris Mills) #2

Just to be clear, are you talking about contributing to the MDN platform itself? The best place to get set with a local install of Kuma (the MDN platform) and start playing with it is:

https://kuma.readthedocs.io/en/latest/installation.html

Also see the kuma repo for more help:

Feel free to keep throwing questions at us — we are happy to help.


(Pavan Gudiwada) #3

This is what i get when i try to clone the repo using
git clone --recursive git@github.com:mozilla/kuma.git

The authenticity of host ‘github.com (192.30.253.112)’ can’t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘github.com,192.30.253.112’ (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.


(Chris Mills) #4

Have you added an SSH key to your GitHub account:

https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/

?

This was my first thought on seeing that error message.


(Pavan Gudiwada) #5

i ran git clone https://github.com/mozilla/kuma.git
insted of git clone --recursive git@github.com:mozilla/kuma.git
does this make any difference ?

i continued and docker was working well until

docker exec -i kuma_web_1 make localecompile
mkdir: cannot create directory 'build': Permission denied make: *** [compilejsi18n] Error 1
## Generating JavaScript translation catalogs ##
Makefile:53: recipe for target 'compilejsi18n' failed

now i made a SSH key and added it to my github account


(Pavan Gudiwada) #6

i ran docker-compose up
and now it is running for an hour now
something like this

worker_1 | [2017-11-02 05:31:51,580: INFO/Beat] Writing entries... worker_1 | [2017-11-02 05:34:56,493: INFO/Beat] Writing entries... worker_1 | [2017-11-02 05:38:01,368: INFO/Beat] Writing entries... worker_1 | [2017-11-02 05:41:06,266: INFO/Beat] Writing entries...