TSC has decided to publish the toonstore custom apps on github for easy app development (and deployment). You can find the repo list here: https://github.com/ToonSoftwareCollective
Somewhere in the near future the toonstore app will download your custom apps on your toon directly from github instead of the current forum download location.
We also created a git client for the toon to help developing on the toon. Because of the disk space needed for this git client we recommend to only use this on a toon2. Below is how you can install this git client on a toon2 (a toon1 installation will follow later) and how to start developing/making changes to the apps yourself!
Installation:
Code: Select all
opkg install http://files.domoticaforum.eu/uploads/Toon/ipk/cortexa9hf-vfp-neon/libcurl5_7.40.0-r0_cortexa9hf-vfp-neon.ipk
opkg install http://files.domoticaforum.eu/uploads/Toon/ipk/cortexa9hf-vfp-neon/git_2.3.0-r0_cortexa9hf-vfp-neon.ipk
git config --global push.default simple
git config --global core.pager more
git config --global credential.helper store
git config --global user.email your-email-address
git config --global user.name your-github-username
List of TSC custom toon apps: https://github.com/ToonSoftwareCollective/
If you want to develop yourself, create a fork of this repo to your own account by clicking on the Fork button (top right) of the app's repo. This will copy the code to your account.
Then browse to your own copy of the app's repo in your account and hit the 'download or clone' button and copy paste the html link. Then use that link in the command's below to clone your repo to your toon:
Code: Select all
cd /qmf/qml/apps/
git clone #your html link here#
Code: Select all
git add the-new-file-name
Code: Select all
git commit -am "your reason for the change you made"
Code: Select all
git push
Sometimes you need to pull new changes (if they are newer) from your own github repo back to your toon. You use this command for that:
Code: Select all
git pull
First enable QT logging on your toon:
Code: Select all
sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab ; init q ; killall -9 qt-gui
Don't forget to close the logging of the QT if you are done developing or else your Toon filesystem will be filled with the log file pretty fast. Use this to stop the logging:
Code: Select all
sed -i 's#startqt >/var/log/qt#startqt >/dev/null#' /etc/inittab ; init q ; killall -9 qt-gui