Coder Social home page Coder Social logo

sni-frontend's Introduction

SNI - frontend part

SNI backend part

For now the homepage is displayed and you can press login with eve online to attempt a connection to the ESI through SNI.

Dependencies:

Run:

virtualenv venv -p python3.8
. ./venv/bin/activate
pip install -r requirements.txt

Set up:

Run:

cp utils.py.template utils.py

Fill th new utils.py with relevent informations

python3 manage.py migrate

This will initialize Django Database

Running:

python3 manage.py runserver

TODO:

  • character/[player_id] will diplay basic informations about a character
    • check if the character is registered and send 404 if he's not
    • fetch additional information through the ESI on the character
  • character/ should display the list of characters registered
    • add ways to order the list
    • deny the list for those that doesn't have a certain clearence level? (or just display a part of them)
  • corporation add corporation management
    • tracking trackong of the tokens of the corporation members
    • ESI access a corporation ESI
  • groups add a full group management
    • Allow for existing characters to be selected when adding members (auto-completion)
    • When adding a new group, display sheet page rather than going back to main list
  • coalitions add a full coalition management
    • Allow for existing alliances to be selected when adding to coalition (auto-completion)
    • When adding a new coalition, display sheet page rather than going back to main list
  • teamspeak add a full teamspeak management

Web config:

No idea how to do it atm, come back later pls ^-^

Docker initialization

get Pumba:

git clone https://github.com/altaris/pumba.git

Create the container's volume:

docker volume create pumba-test-volume

Build the container:

docker build -t pumba .

Copy utils.py to container:

docker cp /dest/to/utils.py pumba-test-volume:/usr/src/app/

Docker run / stop

Run the container:

docker run --rm \
    --env "GIT_URL=https://github.com/r0kym/SNI-frontend.git" \
    --env "GIT_BRANCH=master" \
    --env "PYTHON_MAIN=manage.py runserver 0.0.0.0:8000" \
    --volume "pumba-test-volume:/usr/src/app/" \
    --name "SNI-frontend" \
    -p 8000:8000 \
    altaris/pumba

Stop the container:

docker stop SNI-frontend

sni-frontend's People

Contributors

r0kym avatar fabienmazieres avatar kxenox avatar kxenoxx avatar

Stargazers

 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.