Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unnamed Django NPSI Project

Django-based public calendar app, with EVE Online-friendly modules.

This project aims to fill a similar role to Krypted Auth, but with a more specific focus on NPSI organizations and public site access for the general public.

A lot of things are still missing, and Django migrations are not guaranteed - if you deploy the site before this warning is removed, updates will probably not be pleasant, and you may need to wipe the database.

Planned Features / Known Bugs

see TODO

install and setup:

  1. Set up relevant vars in .env (create the file yourself) , see compose.yaml for env vars

  2. Follow the below instructions

    docker compose up -d --build
    docker compose run web python manage.py migrate
    docker compose run web python manage.py createsuperuser
    # insert your values, save them
    docker compose run web python manage.py eveuniverse_load_data map
    docker compose run web python manage.py eveuniverse_load_data --types-enabled-sections dogmas -- ships types
    docker compose run web python manage.py eveuniverse_load_types --category_id_with_dogma 7 -- fleeter
    • migrate creates the tables in the database
    • createsuperuser creates a superuser for use in Django admin
    • The eveuniverse_load_data commands do the following:
      • map preloads all systems, for use in fleet destinations
      • ships preloads all ships, for use in fitting parser (e.g. when displaying doctrines)
      • types preloads modules, for use in fitting parser

      This is VERY I/O and CPU heavy. A Ryzen 3900x was seeing 17 load during import and took 90 minutes. You may need to re-run some of these commands when game has changes, e.g. universe/map changes, ship changes, or modules

      • You should re-parse fits on updates to ensure that fits are still parsed correctly

Note that using memcached for caching is NOT supported due to the way that EVE-Universe generates keys for Celery tasks

Excuse me what is NPSI

It's the equivalent to a pick up group with preapproved captains.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages