Dynamic languages

For dynamic languages you can use gw very simply with processes.

Configuration #

Wrap the way you normally start your program with the --process flag.

Node.js #

For example for Node.js programs, use the usual npm run start script with a process:

gw /path/to/repo -p 'npm run start'

If you want to use a build step, for example for TypeScript look at the TypeScript guide.

Python #

Use the same idea with Python, wrap your program's entrypoint in a process:

gw /path/to/repo -p 'python manage.py runserver'

Ruby #

Same thing with Ruby, add process to your program's entrypoint:

gw /path/to/repo -p 'bin/rails server'