Contribute to Toaster: Difference between revisions

From Yocto Project
Jump to navigationJump to search
Line 28: Line 28:
     $ git remote set-url contrib git@git.yoctoproject.org:poky-contrib
     $ git remote set-url contrib git@git.yoctoproject.org:poky-contrib
</code>
</code>
== Set up the project and Toaster interface ==
* Create a project, with oaster database capture enabled
<code>
    $ cd <installdir>
    $ source poky/oe-init-build-env
    $ source toaster start
    $ bitbake core-image-minimal
</code>
<strong>NOTE:</strong> Toaster MUST be started before the project's build, else no data will be captured. You can recover a working (if sparse) database if you do this to execute a quick re-build.
<code>
    $ source toaster start
    $ bitbake -c cleansstate base-files
    $ bitbake core-image-minimal
</code>
* Run the Toaster interface
<code>
    $ xdg-open http://localhost:8000/
</code>
<strong>NOTE:</strong> You can alternatively open your browser manually to: http://localhost:8000/

Revision as of 17:34, 21 January 2014

This page summarises the Toaster development process. We hope this will help you start contributing to the project.

Set up the local repository

   $ sudo apt-get install pip
   $ sudo pip uninstall django
   $ sudo pip install django==1.5
   $ sudo pip install South==0.8.4

  • Setup a local repository for the development branch

   $ cd <installdir>
   $ git clone git://git.yoctoproject.org/poky
   $ cd poky
   $ git remote add contrib http://git.yoctoproject.org/git/poky-contrib
   $ git fetch contrib
   $ git checkout contrib/toaster/master -b toaster-master

   $ git remote set-url contrib git@git.yoctoproject.org:poky-contrib

Set up the project and Toaster interface

  • Create a project, with oaster database capture enabled

   $ cd <installdir>
   $ source poky/oe-init-build-env
   $ source toaster start
   $ bitbake core-image-minimal

NOTE: Toaster MUST be started before the project's build, else no data will be captured. You can recover a working (if sparse) database if you do this to execute a quick re-build.

   $ source toaster start
   $ bitbake -c cleansstate base-files
   $ bitbake core-image-minimal

  • Run the Toaster interface

   $ xdg-open http://localhost:8000/

NOTE: You can alternatively open your browser manually to: http://localhost:8000/