GithubHelp home page GithubHelp logo

usuket / championweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joel1st/championweb

0.0 2.0 0.0 330.76 MB

codebase for champion.gg

JavaScript 57.44% Shell 0.60% HTML 25.19% CSS 16.77%

championweb's Introduction

champion.gg

WEBSITE: http://champion.gg

A MEAN project (with a dash of angular). In order to get a local version of champion.gg running you need to have MongoDb, Node and NPM installed. (ensure MongoDB is running when trying to run champion.gg)

To get a working version set up you'll need to clone the repo, install the dependencies, build the database and then start the server from the command line. The commands to enter are listed below.

Getting set up

Clone champion.gg:

git clone https://github.com/joel1st/championweb.git

Install dependencies from project directory:

npm install

Restore database from project directory

mongorestore --db championgg --collection webchampionpages --drop db/championgg/webchampionpages.bson
mongorestore --db championgg --collection webchampionroles --drop db/championgg/webchampionroles.bson
mongorestore --db championgg --collection webmatchuppages --drop db/championgg/webmatchuppages.bson
mongorestore --db championgg --collection weboverallroledatas --drop db/championgg/weboverallroledatas.bson
mongorestore --db championgg --collection weboverallstats --drop db/championgg/weboverallstats.bson
mongorestore --db championgg --collection webhomepagesummaries --drop db/championgg/webhomepagesummaries.bson
mongorestore --db championgg --collection webstatisticspages --drop db/championgg/webstatisticspages.bson

Start Champion.gg

npm start
#if you have another web server running on port 80 you can set the port as such
PORT=8888 npm start

You can now access champion.gg on http://localhost/ or if you set a port number http://localhost:8888/

Development

In order to work on champion.gg more effectively I've created a grunt tasks to facilitate automation of javascript hinting (helps avoid nasty javascript errors).

grunt watch

To get assets ready for production:

grunt production

championweb's People

Contributors

corylulu avatar jakehp avatar joel1st avatar ltwheat avatar rivertam avatar shadowfyren avatar solomid avatar

Watchers

 avatar  avatar

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.