/leek-wars-client

Leek Wars website : https://leekwars.com

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Leek Wars client

The Leek Wars website frontend, in HTML, CSS, JavaScript.

Related projects: LeekScript and Leek Wars fight generator.

Banner

Deployment

Prerequisites: Python 3

The project is very easy to install and deploy in 10s:

git clone https://github.com/leek-wars/leek-wars-client.git
cd leek-wars-client
make # or python3 leekwars.py

Then go to localhost:8012 in your browser (you can change the port in the python script).

Be careful, this project is only the front end of Leek Wars, so it's connected to the production server. When you log into this local version, you will use your real account!

Structure

  • http/ : All served files
    • image/ : All images, icons, textures
    • lang/ : Translations files : en/ and fr/
    • script/ : JavaScript files
      • game/ : JS for the fight rendering
    • sound/ : Sounds files
    • style/ : CSS files
    • third_party/ : Some third party libraries (JS and CSS)
    • view/ : HTML template files
  • Dockerfile : A Dockerfile if you need to build a Docker image
  • Makefile : Makefile to perform some quick actions like make serve
  • leekwars.py : Python script to serve the site locally

Hacking

I gladly accept pull requests to Leek Wars. Before starting work on a feature, see the contribution guidelines.

Libraries used

License

Distributed under the GPL3 license. Copyright (c) 2016, Pierre Lauprêtre