MCPEDNS is a hostname creation service. It is used on mcpe.me.
CLOUDFLARE_EMAIL- Email of your CloudFlare account.CLOUDFLARE_TOKEN- CloudFlare client API key.CLOUDFLARE_DOMAIN- Domain to distribute hostnames on.CAPTCHA_PUBLIC- RECAPTCHA public key.CAPTCHA_SECRET- RECAPTCHA secret key.
Start by cloning this repository
$ git clone https://github.com/Falkirks/MCPEDNS Then switch to the install directory and remove the connection to this remote
$ cd MCPEDNS
$ git remote remove originNow create your Heroku app
$ heroku create You can specify a name if you like
$ heroku create myCoolAppAfter that is done, you will have to configure your app
$ heroku config:add CLOUDFLARE_EMAIL=(Email of your CloudFlare account)
$ heroku config:add CLOUDFLARE_TOKEN=(CloudFlare client API key)
$ heroku config:add CLOUDFLARE_DOMAIN=(Domain to distribute hostnames on)
$ heroku config:add CAPTCHA_PUBLIC=(RECAPTCHA public key)
$ heroku config:add CAPTCHA_SECRET=(RECAPTCHA secert key)Phew, now you need to create a database instance to store client submissions in
$ heroku addons:add mongolabThe app is ready to go now
$ git push heroku master