bigcartel / dugway

Easily build and test Big Cartel themes.
https://developers.bigcartel.com/api/themes
MIT License
149 stars 22 forks source link

be able to bind addresses #101

Closed zandersays closed 10 years ago

zandersays commented 10 years ago

This runs on the thin web server, but I can't set a bind address different from localhost, is there a flag i'm missing, or is this not supported,

outerim commented 10 years ago

With the config.ru in place you shouldn't have to actually use dugway server to run it. The server command is kind of a short hand simplified mechanism for starting up a rack server. You could likely very easily change it to use pow, just straight rackup, or whatever other rack compatible server you want. You may need to add a Gemfile with the proper version of dugway etc specified but beyond that you should be set.

mattwigham commented 10 years ago

@zandersjensen in case you didn't notice also, the server command has a few options if you run dugway server -h:

Options:
  -h, [--host=HOST]      # The host address to bind to
                         # Default: 127.0.0.1
  -p, [--port=N]         # The port address to bind to
                         # Default: 9292
  -s, [--server=SERVER]  # The server to run
                         # Default: thin
zandersays commented 10 years ago

Seriously, thank you so much, for some reason I missed this, I appreciate you taking the time to point that out to me. Awesome.

Cheers

Zander

From: Matt Wigham [mailto:notifications@github.com] Sent: Tuesday, March 11, 2014 11:22 AM To: bigcartel/dugway Cc: Zander Seth Jensen Subject: Re: [dugway] be able to bind addresses (#101)

@zandersjensen https://github.com/zandersjensen in case you didn't notice also, there server command has a few options if you run dugway server -h:

Options: -h, [--host=HOST] # The host address to bind to

Default: 127.0.0.1

-p, [--port=N] # The port address to bind to

Default: 9292

-s, [--server=SERVER] # The server to run

Default: thin

— Reply to this email directly or view it on GitHub https://github.com/bigcartel/dugway/issues/101#issuecomment-37323312 . https://github.com/notifications/beacon/652100__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMDE3NzcxNSwiZGF0YSI6eyJpZCI6MjY3NjQwOTh9fQ==--f25b7437ade5cedd3bb92313a03a6a81eea3220c.gif