Skip to content
Save your League of Legends Champion Runes without wasting (in-game) money.
Vue Go JavaScript CSS Makefile HTML Other
Branch: master
Clone or download
Latest commit 275b97e Jul 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
ci add travis script Jun 7, 2019
cmd/server add configuration via env variables Jul 25, 2019
config Merge pull request #3 from zekroTJA/dev Jul 27, 2019
docs update api docs Jul 26, 2019
internal fix global rate limit checks on grouped endpoints Jul 26, 2019
pkg
scripts
web extend api docs, fix banner error on settings page Jul 26, 2019
.gitignore modify footer Jun 12, 2019
.prettierrc.yml add web login, logout and main page Jun 3, 2019
.travis.yml add travis script Jun 7, 2019
Dockerfile update Dockerfile Jun 12, 2019
Gopkg.toml
LICENSE add logo Jun 8, 2019
Makefile
README.md update readme Jul 25, 2019

README.md


Save your League of Legends rune pages without wasting money.

     

Docker Cloud Automated build  Travis (.org)

Introduction

MYRUNES is a little web tool where you can simply create and store League of Legends rune pages without spending ingame (or even real) money for rune pages. Just visit myrunes.com, create an account and save your runes to be ready for the nex pick and ban.
Of course, if you don't trust us, you can download the source code and build the binaries and front end to be hosted on your own server envoirement.


To Do & Future Goals

To see a list of current goals, ideas and bugs, please take a look to the MYRUNES Trello Board.


Self Hosting

Docker

You can self-host this application by using the supplied docker images.

Just use the following command to pull the latest stable image:

# docker pull zekro/myrunes:latest

On startup, you need to bind the exposed web server port 8080 and the volume /etc/myrunes to your host system:

# docker run \
  -p 443:8080 \
  -v /etc/myrunes:/etc/myrunes \
  zekro/myrunes:latest

You can use following configuration with a MongoDB container using Docker Compose:

version: '3'

services:

  mongo:
    image: 'mongo:latest'
    expose:
      - '27017'
    volumes:
      - './mongodb/data/db:/data/db'
      - '/home/mgr/dump:/var/dump'
    command: '--auth'
    restart: always
 
  myrunes:
    image: "zekro/myrunes:latest"
    ports:
      - "443:8080"
    volumes:
      - "/etc/myrunes:/etc/myrunes"
    environment:
      # You dont need to define the configuration
      # with environment variables fi you prefer 
      # using the config file instead.
      - 'DB_HOST=mongo'
      - 'DB_PORT=27017'
      - 'DB_USERNAME=myrunes'
      - 'DB_PASSWORD=somepw'
      - 'DB_AUTHDB=myrunes'
      - 'DB_DATADB=myrunes'
      - 'TLS_ENABLE=true'
      - 'TLS_KEY=/etc/cert/key.pem'
      - 'TLS_CERT=/etc/cert/cert.pem'
    ports:
      - '443:8080'
    restart: always

As deamon

First of all, if you want to self host the MYRUNES system, your envoirement should pass certain requirements:

  • MongoDB
    The server application uses MongoDB as database and storage system.

  • PM2 or screen
    ...or something else to deamonize an application which is highly recommendet for running the server component.

Also, you need the following toolchains for building the backend and frontend components:

Also, it is highly recommendet to install GNU make to simplyfy the build process. If you are using windows, you can install make for Windows.

Compiling

  1. Set up GOPATH, if not done yet. Read here how to do this.

  2. Clone the repository into your GOPATH:

    $ git clone https://github.com/zekroTJA/myrunes $GOPATH/src/github.com/zekroTJA/myrunes
    $ cd $GOPATH/src/github.com/zekroTJA/myrunes
    
  3. Build binaries and assets using the Makefile:

    $ make
    

Now, the server binary and the web assets are located in the ./bin directory. You can move them whereever you want, just always keep the web folder in the same location where the server binary is located to ensure that all web assets can be found by the web server.

Startup

Now, you just need to start the server binary passing the location of your prefered config location. A preset config file will be then automatically created. Now, enter your preferences and restart the server.

$ ./server -c /etc/myrunes/config.yml

You can’t perform that action at this time.