Giter VIP home page Giter VIP logo

pyhole's Introduction

pyhole is a wormhole connection mapping tool for EVE online.

screenshot

alternatives include

it uses websockets when available and falls back onto AJAX for the in-game browser (but loses pushed updates because long-polling is stupid). drawing is done in canvas to make sure IE users can't use it (and the in-game browser has no dashed line support, so that's good too).

setup

  1. download the latest original.sql.bz2 file from http://evedump.icyone.net/

  2. install mysql-server (or mariadb-server)

     mysql -u root -p
         create database eve;
         grant all on eve.* to eve@localhost identified by 'eve';
     bunzip2 -c original.sql.bz2 | mysql -u eve -peve eve
    
  3. you will need oursql but this is neither packaged nor will pip/easy_install find the right version
    download and extract the zip at https://launchpad.net/oursql/py3k
    on debian, install libmysqlclient-dev (even if you're running mariadb)
    on fedora, install mysql-devel (or MariaDB-devel)
    on both, install python3-pip
    cd into the oursql/ directory and then run
    debian: pip-3.2 install .
    fedora: pip-python3 install .

  4. install these dependencies:
    debian: python3-yaml
    fedora: python3-PyYAML

    mysql -u root -p
        create database pyhole;
        grant all on pyhole.* to pyhole@localhost identified by 'pyhole';
    mysql -u pyhole -ppyhole pyhole < schema.sql
    mysql -u pyhole -ppyhole pyhole
        insert into maps values('[]');
  1. copy config.yaml.example to config.yaml. edit.

    python3
        import db
        db.create_user('raylu', 'a')
    mysql -u pyhole -ppyhole pyhole
        update users set admin = 1;
  1. ./server.py

  2. after confirming everything works, you'll probably want to set up lighttpd like so:

     $HTTP["host"] == "map.hellsinker.org" {
     	server.document-root = "/var/www/map.hellsinker.org/"
     	$HTTP["url"] !~ "^/static/" {
     		proxy.server = ("" => (("host" => "127.0.0.1", "port" => 8001)))
     	}
     }
    

pyhole's People

Contributors

graham42 avatar mgway avatar

Watchers

frosty-nee 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.