i have made dist file by running make dist command for kolibri development server, than i put that dist folder in another pc and ran it by using pip install dist/kolibri-0.10.0.dev1-py2.py3-none-any.whl and it said that kolibri packages installed successfully but i can’t see any folder created regarding kolibri. so i want know that how should i run kolibri from other device after installing wheel files and what should be the commands for runnung kolibri server on that device.
please help
Hi -
We recommend against running pre-release versions of Kolibri unless you’re doing development work or doing testing of new features or bug fixes. For those scenarios, it’s probably easiest to run the pex file.
To do this, run make pex
after running make dist
, and then run the resulting pex file.
good luck!
thanks for your reply but when i run make pex it gives me the error
ython -c “import kolibri; print(kolibri.version)” > kolibri/VERSION
Current version is now 0.10.0.dev1
ls dist/*.whl | while read whlfile; do pex $whlfile --disable-cache -o dist/kolibri-cat kolibri/VERSION | sed 's/+/_/g'
.pex -m kolibri --python-shebang=/usr/bin/python; done
/bin/sh: 1: pex: not found
Makefile:164: recipe for target ‘pex’ failed
make: *** [pex] Error 127
so pex is not working i have downloaded the pex installer from kolibri docs
one more thing can you tell how can i run kolibri’s development server on raspbian because when ever i try to run development server pi gets hang while doing webpack compilation
thank you
You can try downloading the latest 0.10.0 alpha here rather than building it yourself.
May I ask what you’re trying to accomplish? There may be an easier way. As far as I know, no one has ever tried doing Kolibri development on a Pi.
hi, need your help again
can you tell me how can i provide the static ip address to kolibri
thank you
Hi @djholmes !
Most certainly. I’m not sure what platform you are on, but if you run ip addr show
, you will typically receive the external IP address of all your network interfaces. On Windows, run ipconfig /a
from terminal.
Whether that IP address is static or not, is up to your local configuration.
Thanks for your answers guys, well i have made static ip on raspberry pi for kolibri but i got stuck on hard drive partition on raspbian os.
I want my kolibri data (channels) to run from and stored on hard drive instead of sd card so i used options.ini file to give path to kolibri to read and write data from hard drive. I have given name ‘PIHDD’ to the hard drive. it was working fine but i noticed that after the some quick reboot or shutdown of pi in a row it automatically creates partition of PIHDD name and rename hard drive to ‘PIHDD1’ and due to this kolibri server stops. it don’t give access to PIHDD after partition. so every time i have to manually remove PIHDD partition and reboot the pi. i have tried to remove this partition with python script but it was partly successful because it deletes the PIHDD but not able to rename PIHDD1 to PIHDD so that server continues to work without rebooting because of permission issue.Please help me in knowing why this partition is getting created automatically and is there a way to get out of this problem?.
please help.