# Convox-assistant: Use js instead of yaml

**URL:** <https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464>\
**Category:** CLI\
**Created:** [March 22, 2019, 12:57am UTC](https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464 "2019-03-22T00:57:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [March 22, 2019, 12:57am UTC](https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464/1 "2019-03-22T00:57:20Z")

</div>

This one allow you to use js instead of yaml for convox configuration:

> **[convox-assistant](https://www.npmjs.com/package/convox-assistant)**
>
> Assistant to convox deploy

The way to be used is that you use `convox-js2yaml` to generate yaml from js file prior to `convox build`.

Also there is `convox-deploy-and-migrate-rails` provided the package for rails application. It will build rails app, then migrate db before promoting the app.

The source code is on github and PR are welcome.

---

<div class="post-metadata">

**Author:** ![edfricker](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/edfricker/32/95_2.png) [@edfricker](https://community.convox.com/u/edfricker)\
**Post date:** [August 7, 2019, 7:11pm UTC](https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464/2 "2019-08-07T19:11:28Z")

</div>

Heya, this sounds interesting!

Do you have an examples you can share to make it easier for others to use if they want to?

---

<div class="post-metadata">

**Author:** ![phuongnd08](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/phuongnd08/32/57_2.png) [@phuongnd08](https://community.convox.com/u/phuongnd08)\
**Post date:** [August 8, 2019, 2:24am UTC](https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464/3 "2019-08-08T02:24:46Z")

</div>

I updated README.md with an example:

> <https://github.com/remitano/convox-assistant/blob/master/README.md>

---

<div class="post-metadata">

**Author:** ![edfricker](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/edfricker/32/95_2.png) [@edfricker](https://community.convox.com/u/edfricker)\
**Post date:** [August 8, 2019, 8:27pm UTC](https://community.convox.com/t/convox-assistant-use-js-instead-of-yaml/464/4 "2019-08-08T20:27:07Z")

</div>

Thanks, looks interesting!
