Skip to content

Zayelion/ygoworld

Repository files navigation

ygoworld

Manual Yu-Gi-Oh! simulator.

Prerequisites

Node.js MongoDB

Getting Started

First, start up MongoDB:

$ mongod

Then, open up another terminal window:

$ git clone https://github.com/Yugioh-Sims-International/ygoworld.git && cd YGOSiM
$ npm install
$ node lib/server.js

Building

To build YGOWorld, you need to install Grunt globally:

$ npm install -g grunt-cli

Run grunt build to concat and minify CSS and JavaScript files.

Run grunt iteration to watch CSS and JavaScript files and as you make changes, it minifies the CSS and JavaScript files.

You can also run grunt test to use linters to check if you made any errors in your code.

Setting up an Administrator account

Once your server is up, you probably want to make yourself an Administrator (-) on it.

db.json

To become an Administrator, edit config.json.

//{"Chen": 4, "Francexi": 4, "Access": 4}

	0: ' ', //user
	1: '+', //voice -> tournaments and broadcast
	2: '*', //mod   -> ban,mute
	3: '#', //admin -> promote
	4: '-' //owner  -> console

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published