Giter Club home page Giter Club logo

maplemobileserver's Introduction

installation

For the generating the grpc files you will need:

  • protoc compiler
  • go-grpc plugin
  • make

Install For Windows:

Enable chocolaty (chocolaty is package manager for windows)

From Powershell with admin

Set-ExecutionPolicy Bypass -Scope Process -Force; `
  iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

From Powershell with admin


# install go
choch install golang

# install protoc
choco install protoc --pre

# install make
choco install make 

# install go-grpc plugin
go get github.com/golang/protobuf/protoc-gen-go

# install mongodb
choco install mongodb

# install robo3t - a gui tool for mongo db
choco install robo3t

To use mongodb from cli you need to add the mongodb bin directory to the PATH environment variable

install for ubunto

sudo snap install go

download the module dependencies

cd <root dir> 
go mod download

compile proto files

make grpc

run the server

go run main/main.go

using the heroku app

At the time this readme has written heroku has not have support for http2, so it does not possible to use heroku for the maple server. I will keep this heroku snippet code just because it has already written.

if you don't familiar with heroku checkout this link download the heroku cli from heroku websitehttps

# login to heroku
heroku login

# if you did not alredy created heroku app
heroku create

# push branch to heroku
git push heroku <branch>

kill the server on windows

Get-Process -Id (Get-NetTCPConnection -LocalPort 3667).OwningProcess taskkill /PID <PID> /F

client

Repository of android client for the game can be found in:

maplemobileserver's People

Contributors

nilnil47 avatar yakir4123 avatar

Watchers

 avatar

Forkers

elgohr-update

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.