JonDoe297
JonDoe297

Reputation: 1721

Creating my own Play Framework 2.x templates

Is it possible to create my own Play Framework 2.x templates?

I need to create some templates for different kind of projects, but it would be great if this templates can be used with activator.

$ activator new my-new-app my-company-template

Do you know if this is possible?

Upvotes: 0

Views: 30

Answers (1)

James Roper
James Roper

Reputation: 12850

Activator doesn't do much more than copy an existing skeleton, the only extra thing it does is insert the project name you choose in a build.sbt file.

I would recommend creating a template, putting it on your companies git hosting site, and then get people to clone it from there when they want to create a new project. That's pretty similar to what activator new does.

Upvotes: 1

Related Questions