Saving a meteor folder as a template

#1

Hey,

So I was wondering if there was a way I could create a custom template.

Instead of

meteor create --minimal

I’d like to do a

meteor create --mycustomsetup

Based off a saved starting point I made.

This would allow me to have it create a new folder with the file structure and default packages and such I use often.

Can this be done? Or should i just save one and copy and paste or a git clone?

#2

The assets for those templates are here. It’s probably going to be easier to put a script wrapper around the meteor command and either copy from a local template or from GitHub.

1 Like
#3

you can create a repo for your boilerplate on GitHub as you mentioned then you can simply clone it every-time you want to create a new project.