Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/latinrev/minecraftserver
Create a minecraft server with heroku and dropbox
https://github.com/latinrev/minecraftserver
Last synced: 5 days ago
JSON representation
Create a minecraft server with heroku and dropbox
- Host: GitHub
- URL: https://github.com/latinrev/minecraftserver
- Owner: latinrev
- License: mit
- Created: 2020-09-28T09:48:56.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T13:36:01.000Z (8 months ago)
- Last Synced: 2024-03-18T15:05:02.735Z (8 months ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minecraft heroku server (WIP) -> HEROKU HAS DELETED THEIR FREE TIER, THIS STILL WORKS JUST NOT WITH HEROKU
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/