Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.
/ MCPEDNS Public archive

[OUTDATED] MCPE hostname creation service. Uses CloudFlare API.

Notifications You must be signed in to change notification settings

falkirks/MCPEDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You should check out the new mcpe.me service https://github.com/Falkirks/mcpeme

MCPEDNS (mcpe.me)

MCPEDNS is a hostname creation service. It is used on mcpe.me.

Environment variables

  • 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.

Running on Heroku

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 origin

Now create your Heroku app

$ heroku create 

You can specify a name if you like

$ heroku create myCoolApp

After 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 mongolab

The app is ready to go now

$ git push heroku master

About

[OUTDATED] MCPE hostname creation service. Uses CloudFlare API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published