Skip to content

r0kym/SNI-frontend

Repository files navigation

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

About

Frontend part of seat-navy-issue project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •