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.
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
First of all, if you want to self host the MYRUNES system, your envoirement should pass certain requirements:
The server application uses MongoDB as database and storage system.
Also, you need the following toolchains for building the backend and frontend components:
- go compiler toolchain
- dep package manager
- nodejs and npm (npm will be automatically installed with nodejs)
- Vue CLI
Set up GOPATH, if not done yet. Read here how to do this.
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
Build binaries and assets using the
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.
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