GithubHelp home page GithubHelp logo

reejit / minecraftserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from latinrev/minecraftserver

0.0 0.0 0.0 35 KB

Create a minecraft server with heroku and dropbox

License: MIT License

JavaScript 82.40% Shell 0.55% HTML 14.81% SCSS 2.24%

minecraftserver's Introduction

Minecraft heroku server (WIP)

Minecraft server to be hosted on heroku with dropbox storage and ngrok support

Installation

Clone the repo

https://github.com/latinrev/minecraftserver

And then as you would normally do

$ npm install

Configuration

Local Config

There is an example.env(Rename this to .env ) file in the repo telling you where to put your tokens

NGROK

Create an account in ngrok, retrieve your access token and paste it in your .env file

DROPBOX

Create an account in dropbox, create a new application of type folder and retrieve your folder access token and paste it in your .env file

Heroku Config

HEROKU

Create an application and follow the instructions to push the repository

NGROK

Create an account in ngrok, retrieve your access token and paste it under the name NGROK_TOKEN in your Enviroment variables in heroku's dashboard

DROPBOX

Create an account in dropbox, create a new application of type folder and retrieve your folder access token and paste it under the name DROPBOX_TOKEN in your Enviroment variables in heroku's dashboard

KEEP-ALIVE URL

Paste https:// "YOUR HEROKU APP NAME" .herokuapp.com/ under the name BACKUP_URL in your Enviroment variables in heroku's dashboard

Usage

Local

Just do

$ npm start
Navigate to localhost:5000 to start the server

Heroku

Heroku will automatically detect the procfile and start the webpage, if that doesn't work go into the dashboard/resources and scalate the dyno to be on.

To start the server go to https:// "YOUR HEROKU APP NAME" .herokuapp.com/

minecraftserver's People

Contributors

latinrev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.