Degassing is discussed a few times. The most cited answer in [Coffee SE](http://coffee.stackexchange.com/) is probably [this question](http://coffee.stackexchange.com/questions/6/why-is-it-not-recommended-to-drink-coffee-immediately-after-its-roasted).

In short:

* Degassing takes up to 2 to 4 days to achieve drinkable coffee. If you really want to shorten this, grind earlier. But you should try yourself for best timing.
* The best flavor is around 1 to 2 weeks. Again, you should follow you taste buds based on the beans and the roast degree.