Custom quickly templates

Asked by augdawg09

Hey all,

I have made a VERY basic Ruby template for Quickly. However, I am not sure where to put this file so that I can do:

quickly create Quickly-ruby newapp

and have Quickly make it.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
augdawg09 (augdawg09) said :
#1

One more question.

Are there any places that I can go to read about how to write templates the real way for Quickly?

Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#2

Thanks for your interest in Quickly and help to make it better.

The current main information to create a template is unfortunately on my server blog post, which is down as I'm currently moving. He will be turned on in a month or so.

For your ruby template, you just need to copy the root template directory to ~/quickly-template and to ensure all your commands are executable.

The easiest way to get an example of custom template is to make $ quickly quickly ubuntu-application my-foo-template.

Revision history for this message
augdawg09 (augdawg09) said :
#3

That's great news!

What is the URL of your website? I would like to go view that tutorial when it comes back online.

Thanks so much for your help!

Revision history for this message
augdawg09 (augdawg09) said :
#4

Also, I just tried dropping my ruby template into the quickly-templates directory and then I did $ quickly create ruby-application firstruby but it said the template could not be found. Do I have to "register" it in the quickly source somewhere? (Shane Fagan's Quickly-vala template is in the quickly templates folder also and it works.)

Thanks!

Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#5

The url is the one you pointed before: http://blog.didrocks.fr

On the template side, do you have the create command either written or imported? Please have a look at either this template, or one you create with "$ quickly quickly ubuntu-application foo-template" and compare the content (there can be imported commands, or created ones).

Revision history for this message
augdawg09 (augdawg09) said :
#6

Well, I was wondering if I coudl write some of the commands in Ruby because I'm better with Ruby than Bash. Also, how do I rename a Launchpad branch? I made a project for it in Launchpad but I accidentally made a typo when I was typing out the branch information and instead of being lp:~augdawg09/quickly-ruby/quickly-ruby it's lp:~augdawg09/qiuckly-ruby/quickly-ruby. Is there any way I can change that?

Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#7

You can have your commands in ruby, just make them executable in the root directory of the template.

About renaming a project launchpad branch, you should ask to the launchpad guys.

Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#8

I can answer that one push to a new launchpad branch and delete the other one.

Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#9

the second item is a project, you can't rename project by yourself, it should be an existing project on launchpad. So the solution is to rename the project.

Revision history for this message
augdawg09 (augdawg09) said :
#10

Thanks!

On Fri, Oct 22, 2010 at 5:27 PM, Didier Roche <
<email address hidden>> wrote:

> Your question #130303 on quickly changed:
> https://answers.edge.launchpad.net/quickly/+question/130303
>
> Didier Roche proposed the following answer:
> the second item is a project, you can't rename project by yourself, it
> should be an existing project on launchpad. So the solution is to rename
> the project.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/quickly/+question/130303/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/quickly/+question/130303
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Didier Roche-Tolomelli (didrocks) said :
#11

putting as solved then :)