# Content Root Change

**URL:** <https://community.learningequality.org/t/content-root-change/312>\
**Category:** KA Lite\
**Created:** [August 4, 2017, 5:58pm UTC](https://community.learningequality.org/t/content-root-change/312 "2017-08-04T17:58:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![finish1581](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@finish1581](https://community.learningequality.org/u/finish1581)\
**Post date:** [August 4, 2017, 5:58pm UTC](https://community.learningequality.org/t/content-root-change/312/1 "2017-08-04T17:58:00Z")

</div>

Hi.

I just download all the videos using torrent.  
How do you change the Content Root?

I couldn’t find setting.py anywhere in my macbook. (MacOS Sierra 10.12.4)  
Also I tried to create the file setting.py but the message appears saying that permission is required.

I using the 0.17.1 KA lite.

Please help me.

Joshua

---

<div class="post-metadata">

**Author:** ![mrpau-eugene](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mrpau-eugene](https://community.learningequality.org/u/mrpau-eugene)\
**Post date:** [August 9, 2017, 7:49am UTC](https://community.learningequality.org/t/content-root-change/312/2 "2017-08-09T07:49:53Z")

</div>

Hi @finish1581

Sorry for the late response.  
Open up your terminal. You may do this by navigating to the magnifying glass ![](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/1X/9b75e00758dc399ee16bc9d852e82e55f5838b5f.png) at the top right corner of your screen, and typing in “Terminal”, then hitting “Enter” on your keyboard.

Now, inside the terminal type:

`open ~/.kalite`

![](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/1X/d0d5fdd335848cf97e9171e33941eee7c90bd388.png)

And then you can now add the CONTENT\_ROOT inside `settings.py`:  
`CONTENT_ROOT = "<path to desired content folder>" (default=/home/user/.kalite/content)`

For example:

`CONTENT_ROOT = "/Users/my_username/Desktop/content"`

 ![](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/1X/602824a0178e3d9eb619a24e60f8446c71e45256.png)

I hope it helps!

---

<div class="post-metadata">

**Author:** ![Richard\_Amodia](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/richard_amodia/32/483_2.png) [@Richard\_Amodia](https://community.learningequality.org/u/Richard_Amodia)\
**Post date:** [August 9, 2017, 7:54am UTC](https://community.learningequality.org/t/content-root-change/312/3 "2017-08-09T07:54:36Z")

</div>

Hi @finish1581 you can also try this. Set the `KALITE_CONTENT_ROOT ` environment variable with the path of your downloaded videos.

Here’s the steps to set it.

1. Open terminal utility tool.
2. Make sure kalite server is not running. Just run the “kalite stop” command.
3. Run the `launchctl setenv KALITE_CONTENT_ROOT /path of your downloaded videos/` command to set the KALITE\_CONTENT\_ROOT environment variable.
4. Restart the terminal by closing and open it again
5. Run the command “kalite start” to start kalite server.

---

<div class="post-metadata">

**Author:** ![finish1581](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@finish1581](https://community.learningequality.org/u/finish1581)\
**Post date:** [August 24, 2017, 4:03pm UTC](https://community.learningequality.org/t/content-root-change/312/4 "2017-08-24T16:03:56Z")

</div>

Thank you so much.

Using English and French in Raspberry Pi 3. (This is a new device from the previous one)  
I’m getting ready for a village school in Guinea, Africa. (450km from the capital city)

If you are using two languages (for me, French and English), how do you do that?  
When I put the French video into content, it looks like some English video names are same as the French ones.

Do you simply put the French videos into the same folder as English Videos? Or can you make separate folders and configure for the two different languages?

Help me please.

Thanks.

---

<div class="post-metadata">

**Author:** ![mrpau-eugene](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mrpau-eugene](https://community.learningequality.org/u/mrpau-eugene)\
**Post date:** [August 25, 2017, 3:11am UTC](https://community.learningequality.org/t/content-root-change/312/5 "2017-08-25T03:11:00Z")

</div>

@finish1581

> Do you simply put the French videos into the same folder as English Videos?

We put videos in a single folder which is the `content` .

We have a separate database for each of the contents. Example for english we have `content_khan_en.sqlite` and for French we have `content_khan_fr.sqlite`.

The file names of each videos, for example `hMlnp_LjDbM` is stored in the French database. So you don’t have to worry if you just paste new videos in the content as kalite will fetch the video for the current language as it should.
