# Ghost theme development setup \[gotede\]

**URL:** <https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927>\
**Category:** Installation\
**Created:** [November 7, 2018, 1:30pm UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927 "2018-11-07T13:30:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![b-m-f](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/b-m-f/32/3506_2.png) [@b-m-f](https://forum.ghost.org/u/b-m-f)\
**Post date:** [November 7, 2018, 1:30pm UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927/1 "2018-11-07T13:30:30Z")

</div>

Hi,

First of all, I am aware that this might be the wrong category to post under, but I was not sure which one I should chose. If this is the wrong one, could a Mod please move it?

I have written a small script to quickly set up a local development environment for Ghost themes.  
It is written in Node and asks a few question, to create a file which `docker-compose` can use to create a docker container. It also includes a skeleton theme that handles CSS (with PostCss) and JavaScript bundling.

The repository is at [GitHub - b-m-f/gotede: Quick setup script for Ghost theme development environment with docker](https://github.com/b-m-f/gotede) . Maybe this will help someone out.  
Any bugs can be reported on github and I will try to fix them.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [November 7, 2018, 3:53pm UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927/2 "2018-11-07T15:53:18Z")

</div>

@b-m-f what benefits does this give you over the official theme development setup?

> **[How to install Ghost locally on Mac, PC or Linux](https://ghost.org/docs/install/local/)**
>
> A detailed local install guide for how to install the Ghost publishing platform on your computer running Mac, PC or Linux. Ideal for Ghost theme development.

---

<div class="post-metadata">

**Author:** ![b-m-f](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/b-m-f/32/3506_2.png) [@b-m-f](https://forum.ghost.org/u/b-m-f)\
**Post date:** [November 9, 2018, 4:03am UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927/3 "2018-11-09T04:03:12Z")

</div>

Hi Kevin,

My main reason was simplicity in maintaining different themes on different versions of Ghost, all being able to run simultaneously on different ports.

This is made possible by having different container images built per theme.

The global ghost-cli is still easier to use when building a single theme I assume.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [November 9, 2018, 11:18am UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927/4 "2018-11-09T11:18:14Z")

</div>

You can run `ghost install local` in multiple directories if you want multiple ghost instances running at once - it will automatically assign port numbers for you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [November 23, 2018, 11:18am UTC](https://forum.ghost.org/t/ghost-theme-development-setup-gotede/3927/5 "2018-11-23T11:18:18Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
