# My first SlicerCustomAppTemplate

**URL:** <https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230>\
**Category:** Support\
**Created:** [October 19, 2021, 11:49am UTC](https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230 "2021-10-19T11:49:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fghazouani](https://avatars.discourse-cdn.com/v4/letter/f/f07891/32.png) [@fghazouani](https://discourse.slicer.org/u/fghazouani)\
**Post date:** [October 19, 2021, 11:49am UTC](https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230/1 "2021-10-19T11:49:02Z")

</div>

Hello,

I am following the tutorial of [https://blog.kitware.com/slicercat-creating-custom-applications-based-on-3d-slicer/](https://blog.kitware.com/slicercat-creating-custom-applications-based-on-3d-slicer/) and I have created a directory contains the CMakeLists for my custom slicer build by using the Custom app template generation procedure :

```auto
pip install cookiecutter jinja2-github
cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate

```

Now I have this folder:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/69ff56f08b13ac19a55caa350c773fe75d21ca8e.png)

My question is what I must do after those steps.  
I tried to follow build instruction for Mac OS:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/c/3c99093a166271af510563fb8e40d694a03d65a0.png)  
I don’t know what path source I must use in the cmake command: the path source of Slicer or the path source of the directory of the generated template.

Please I need your help!!

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [October 19, 2021, 2:33pm UTC](https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230/2 "2021-10-19T14:33:58Z")

</div>

You don’t need to checkout and edit the cookie cutter code. All you need to do is call it: `cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate`

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [October 19, 2021, 8:49pm UTC](https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230/4 "2021-10-19T20:49:34Z")

</div>

> [@fghazouani](#):
>
> So, when I have used the directory of the generated template “/…/ SlicerCustomAppTemplate” it works very well now.

Great. Thanks for reporting back.

Let us know if you have additional questions.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 22, 2021, 5:52pm UTC](https://discourse.slicer.org/t/my-first-slicercustomapptemplate/20230/6 "2021-10-22T17:52:00Z")

</div>

You can make changes anytime and then need to build the application again to make the changes have an effect. You don’t need to rebuild from scratch, so these builds will take just a few minutes and not hours.
