セットアップウィザードをスクリプト化する方法は?

Wizard is half site settings, half API calls.

For API calls you can read How to reverse engineer the Discourse API and for site settings follow the example here:

「いいね!」 2