-
Notifications
You must be signed in to change notification settings - Fork 33
ChartDeploy
The dl
repo should be set up like this:
/dl
/www <- clone of <yourusername>.github.io
/wwwsrc <- clone of dlsim-vue
deploy.py
...
In addition, .github.io should be set as your github userpage
To update the chart with new results of an adventurer defined in /adv/adventurer.py:
python deploy.py adventurer.py -c
Multiple adventurers can be specified at once:
python deploy.py adv1.py adv2.py -c
There are also 3 predefined batch options:
python deploy.py [quick|slow|all] -c
-
quick
deploys all adventurers that only run once, defined in chara_quick.txt and chara_sp_quick.txt -
slow
deploys all adventurers that run 1000 times due to RNG in their kits, defined in chara_slow.txt. This takes a long time. -
all
deploys everyone, this also takes a long time.
Lastly there are 3 config params:
-
-c
stands for combine, which merges all the data. This is required if you want the data to show up in chart -
-m
stands for mass sim, required for deploying a slow character -
-sp
stands for special, required for deploying a character in the "special" page
New images should be put under www/dl-sim/pic/character
or any of the other relevant folders. The names of the images should be exactly as they are named within the game assets, for example 100002_13_r05.png
for Gala Elisanne.
After doing all of that, commit the www
repository.
Make edits in wwwsrc
, run npm run serve
to test locally or npm run build
to build and copy files to www
.
Once www
changes are pushed, return to wwwsrc
and run the purge.sh file to update the CN mirror for the chart. (You can view the CN mirror here: https://wildshinobu.pythonanywhere.com/dl-sim-vue/cn)