[Sugar-devel] Steps after cloning
James Cameron
quozl at laptop.org
Fri Mar 1 04:40:40 EST 2019
I agree with Ibiam. You can see what the Home view looks like by reading through the first few sections of the documentation at https://help.sugarlabs.org/
Gaurav, when Sugar activities are installed, they are in either /usr/share/sugar/activities for packaged activities, or ~/Activities for user-installed activities. Up to you which place you put your clone, but ~/Activities would be easier, because you don't have to be root.
Gaurav, the Ubuntu Terminal program is not an activity of Sugar, it is an application of Gnome. I only mentioned using Sugar Terminal because I thought you would know how to use it, but if that's not something you're familiar with, best to use the Home view, and the Log activity to see errors. Make the time later to learn how to use Terminal.
Hrishi, "sugar-activity" is a file, actually. It should be in /usr/bin after Sugar is installed according to the Ubuntu instructions page.
On Fri, Mar 01, 2019 at 09:17:23AM +0100, Chihurumnaya Ibiam wrote:
> If you've setup a development environment, you can open the terminal activity
> and create a new "Activities" directory in /home/user, you can clone activities
> within this directory and they'll automatically be added to your home view -
> can be accessed with F3 -.
> You can run any activity on your home view by clicking on it.
>
> You can also run the "sugar-activity" command from the activity directory you
> cloned in your ubuntu terminal.
>
> Also see
> [1]https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
>
> On Fri, Mar 1, 2019, 7:14 AM Gaurav Purohit <[2]gauravpurohit6666 at gmail.com>
> wrote:
>
> As mentioned in "[3]https://github.com/sugarlabs/sugar/blob/master/docs/
> ubuntu.md ",
> I have setted development environment and new user with sugar lab name has
> been created in Ubuntu,which I am using in VMware.
>
> Now in sugar lab I have forked and cloned turtle-master-art,so now what to
> do ? Do I start Ubuntu terminal and give command sugar activity ? Or I need
> to start [4]activity.info present in "/turtle-master-art/activity" ??
>
> On Fri 1 Mar, 2019, 11:24 AM Hrishi Patel, <[5]hrishipatel99 at gmail.com>
> wrote:
>
> Terminal "activity" could be found as an activity in Sugar.
>
> "sugar-activity" could be run as a command from activities' directory.
> It's not a file or directory.
>
> On Fri, Mar 1, 2019, 11:15 AM Gaurav Purohit <[6]
> gauravpurohit6666 at gmail.com> wrote:
>
> When you mentioned Terminal activity does it means normal Ubuntu
> terminal ?
>
> And I have clone turtleart-activity-master in it I have no folder
> or file name sugar-activity? It has only one activity that is
> TurtleArtActivity.py
>
> On Fri 1 Mar, 2019, 1:53 AM James Cameron, <[7]quozl at laptop.org>
> wrote:
>
> When you run sugar-activity, the environment variable
> SUGAR_BUNDLE_PATH is set to the absolute path of the directory
> name in
> the first argument, or the current directory if there were no
> arguments.
>
> If you gave a first argument to sugar-activity, make sure the
> directory exists. If there is no first argument, make sure the
> current directory exists.
>
> You can read sugar-activity; it is written in Python.
>
> On Fri, Mar 01, 2019 at 12:23:23AM +0530, Gaurav Purohit wrote:
> > After cloning and starting sugar when I type sugar-activity
> in terminal I am
> > getting an error:
> > "SUGAR_BUNDLE_PATH is not defined in environment "
> >
> > what does it means I searched for it but I am not able to
> understand why I am
> > getting this error!
> >
> > -Gaurav
> >
> >
> >
> > On Thu 28 Feb, 2019, 11:31 AM James Cameron, <[1][8]
> quozl at laptop.org> wrote:
> >
> > For developers, start Sugar, then start the Terminal
> activity, then
> > change to the directory that contains a git clone of your
> fork. Run
> > the activity by typing "sugar-activity" and press enter.
> >
> > (For users, the procedure is different.)
> >
> > On Thu, Feb 28, 2019 at 11:26:51AM +0530, Gaurav Purohit
> wrote:
> > > Hello Everyone,
> > >
> > > I have estasblished development version of Sugar
> activity in Ubuntu, and
> > forked
> > > turtle-art-master file , but now i don't know what to
> do and how to check
> > > changes ?
> > > Someone can guide me please!!
> >
> > --
> > James Cameron
> > [2][9]http://quozl.netrek.org/
> > _______________________________________________
> > Sugar-devel mailing list
> > [3][10]Sugar-devel at lists.sugarlabs.org
> > [4][11]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > References:
> >
> > [1] mailto:[12]quozl at laptop.org
> > [2] [13]http://quozl.netrek.org/
> > [3] mailto:[14]Sugar-devel at lists.sugarlabs.org
> > [4] [15]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> > _______________________________________________
> > Sugar-devel mailing list
> > [16]Sugar-devel at lists.sugarlabs.org
> > [17]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> --
> James Cameron
> [18]http://quozl.netrek.org/
> _______________________________________________
> Sugar-devel mailing list
> [19]Sugar-devel at lists.sugarlabs.org
> [20]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> _______________________________________________
> Sugar-devel mailing list
> [21]Sugar-devel at lists.sugarlabs.org
> [22]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> _______________________________________________
> Sugar-devel mailing list
> [23]Sugar-devel at lists.sugarlabs.org
> [24]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> References:
>
> [1] https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
> [2] mailto:gauravpurohit6666 at gmail.com
> [3] https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md
> [4] http://activity.info/
> [5] mailto:hrishipatel99 at gmail.com
> [6] mailto:gauravpurohit6666 at gmail.com
> [7] mailto:quozl at laptop.org
> [8] mailto:quozl at laptop.org
> [9] http://quozl.netrek.org/
> [10] mailto:Sugar-devel at lists.sugarlabs.org
> [11] http://lists.sugarlabs.org/listinfo/sugar-devel
> [12] mailto:quozl at laptop.org
> [13] http://quozl.netrek.org/
> [14] mailto:Sugar-devel at lists.sugarlabs.org
> [15] http://lists.sugarlabs.org/listinfo/sugar-devel
> [16] mailto:Sugar-devel at lists.sugarlabs.org
> [17] http://lists.sugarlabs.org/listinfo/sugar-devel
> [18] http://quozl.netrek.org/
> [19] mailto:Sugar-devel at lists.sugarlabs.org
> [20] http://lists.sugarlabs.org/listinfo/sugar-devel
> [21] mailto:Sugar-devel at lists.sugarlabs.org
> [22] http://lists.sugarlabs.org/listinfo/sugar-devel
> [23] mailto:Sugar-devel at lists.sugarlabs.org
> [24] http://lists.sugarlabs.org/listinfo/sugar-devel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list