# Can you "export" your theme to an uploadable zip?

**URL:** https://discourse.roots.io/t/can-you-export-your-theme-to-an-uploadable-zip/5278
**Category:** sage
**Created:** 2015-11-14T20:55:10Z
**Posts:** 5

## Post 1 by @dazed17x — 2015-11-14T20:55:10Z

Apologies if this is obvious, but I can’t figure out how to generate a “production” folder/zip to upload into a WP install. I have purchased the PDF from [Roots.io](http://Roots.io), but I’m still stuck.

I’ve developed a theme using Sage and really enjoyed the process. This was done locally on my machine with MAMP.

I now have everything how I want it, but I can’t figure out how to turn my theme into a production ready version. Is this even possible with Sage?

Again, apologies for such a beginner related question. But what steps do I need to take, or what documentation am I missing.

Thanks so much.  
-D

---

## Post 2 by @swalkinshaw — 2015-11-15T00:48:49Z

> **[Theme Deployment | Sage Documentation | Roots](https://roots.io/sage/docs/theme-deployment/)**
>
> Generate production ready assets for your Sage theme with `gulp –production`, which will build your theme assets without the source maps.

Run that command then you can bundle whatever you want into the ZIP

---

## Post 3 by @dazed17x — 2015-11-15T01:18:44Z

Thanks - I had actually worked my way to that point - It was more of figuring out what files I would have to zip. What I have working for me right now, is all the php files and the dist folder.

Follow up question:  
Once I use the `gulp --production` command, `gulp watch` stops working. Can I revert out of the “production” state?

---

## Post 4 by @swalkinshaw — 2015-11-15T01:30:30Z

Sure, just run plain `gulp` again. You’ll need to restart `gulp watch` between those anyway.

---

## Post 5 by @dazed17x — 2015-11-15T02:12:56Z

Huge help. Just wasn’t putting the pieces together.

**Thanks swalkinshaw.**
