~gbancroft-canonical/juju-website/homepage-realignment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Transcript of the Quickly tutorial video on 
http://developer.ubuntu.com/get-started
===========================================

[STARTS]

Introduction
------------

Audio: "Hello! My name's Bruce and I'm going to show you how to create and 
release your very own Ubuntu app with Python, GTK and Quickly. All you need is a 
computer with latest version of Ubuntu running on it and a Launchpad account."

Visual: The Ubuntu desktop.

Software Centre and Quickly
---------------------------

Audio: "Right, the first thing you'll need to do is open the Software Centre. 
[Pause] There we are. Now search for 'Quickly'. Quickly is a tool that combines 
Python and GTK with all the software you need to release your app. Editing, version 
control, packaging, publishing - it all comes out-of-the-box with Quickly.

Visual: Launches Software Centre. Types 'quickly' into the search box. Installs 
Quickly.

Terminal
--------

Audio: "Once Quickly's been installed you'll need to drop to the command line. 
If you're not a fan of the command line, don't panic; Quickly makes things 
really easy. Hold CTRL, ALT and T to fire up the Terminal."

Visual: Launches Terminal via shortcut keys.

Create app
----------

Audio: "Type in 'quickly create ubuntu-application hello-world' and hit Enter. 
[Pause] Quickly's created an example app for you called 'hello world'. Pretty 
neat, huh? Let's close the app viewer for a second and get back to the 
Terminal."

Visual: Types 'quickly create ubuntu-application hello-world'. Quickly opens the 
application viewer. Closes the viewer.

Customise app via the designer
------------------------------

Audio: "Let's customise our app a little bit. Jump in to the app folder by 
typing 'cd hello world' and then type 'quickly design'. [Pause] This is Glade, 
an interface designer for GTK. It's a powerful tool, but it's very easy to learn. 
[Pause] You'll notice that Quickly has created a base GUI for us to edit. Let's 
start by chopping out the big logo. [Pause] Done. Okay, let's also get rid of 
the status bar at the bottom. We don't really need that. [Pause] Gone. Now we're 
going to change the label text... [Pause] Let's delete all of this and replace 
it with our own message. [Pause] Cool. CTRL and S to save, and exit the 
designer."

Visual: Types 'cd hello world'. Types 'quickly design'. Quickly opens Glade. 
Deletes the logo image. Deletes the status bar. Changes the remaining label text 
to 'Hello, world!'. Saves via shortcut keys and closes the interface designer.

Run app
-------

Audio: "Now we're back at the Terminal, we'll type 'quickly run' to run our 
app. 
[Pause] There it is."

Visual: Types 'quickly run'. Quickly runs the app. Closes the app.

Customise app via the editor
----------------------------

Audio: "Right, now let's type 'quickly edit'. [Pause] This is Gedit, Quickly's 
favoured text editor. Here we can see the Python code that makes up our app. 
We'll ignore it for this demo - we're just going to add some authorship 
details. 
[Pause] We'll go to 'open' and then our app folder, and then we'll double-click 
to open the 'AUTHORS' file. [Pause] We'll add the year, our name and our email 
address. CTRL and S to save, and exit the editor."

Visual: Types 'quickly edit'. Quickly opens the text editor. Clicks 'open'. 
Selects the app folder. Opens the 'AUTHORS' file. Adds year, name and email 
address. Saves via shortcut keys and closes the text editor.

Save the app
------------

Audio: "Before we move on we're going to save the app. Quickly uses Bazaar for 
version control, which integrates nicely with Launchpad as you'll see in a 
moment. It's as simple as typing... [Pause] 'quickly save' and then add a 
comment... [Pause] 'First version of app'."

Visual: Types 'quickly save "First version of app"'.

Generate a license
------------------

Audio: "Now we're going to generate a license for our app. All the details 
Quickly needs are in the 'AUTHORS' file we edited. Just type 'quickly license'. 
[Pause] Easy. Now type 'quickly edit' to fire up the text editor again. [Pause] 
You'll see that the default license is GPL version 3, but you can choose 
whichever license best suits your type of app. Don't forget - both free and 
commercial apps are welcome the Software Centre."

Visual: Types 'quickly license'. Types 'quickly edit'. Closes the text editor.

Save the app
------------

Audio: "Let's save the licensed version of our app. Type 'quickly save' and add 
the comment 'Licensed version of app'."

Visual: Types 'quickly save "Licensed version of app"'.

Packaging
---------

Audio: "Almost finished. Packaging's next. Type 'quickly package' and watch in 
awe as Quickly makes light work of packaging your app."

Visual: Types 'quickly package'.

Release
-------

Audio: "And now we're ready for release. Type 'quickly release' and wait a few 
moments for your app to be uploaded to Launchpad. [Pause] Done. All the help and 
advice you need to build your own Ubuntu app is on developer.ubuntu.com. Have 
fun and thanks for watching."

Visual: Types 'quickly release'. Launches Firefox which automatically loads the 
Launchpad project page.

[ENDS]